Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-78913

The browser shows error when typing a specific character (e.g; u,i,U,I) in Single User picker custom field for the Turkish user full name that contains Turkish character 'İ' while creating or editing an issue

XMLWordPrintable

      Issue Summary

      The customer is facing an issue while creating or editing an issue with a custom user picker field in Jira. When they attempt to search for Turkish users by entering the first letter of their last names (for example, u, U, i, or I), they encounter a pop-up error in the browser if any of the results include full names containing the Turkish character 'İ'. The error message is displayed as shown below:

      Steps to Reproduce

      1. Setup a Jira instance with affected version
      2. create few users having name as : ZAHİDE TÖREN UZUNÖİMEROĞLU, ABİDİN İZGİ, ABDULKADİR İRİ, YASEMİN USTAOĞLU TARAKCIT
      3. Create a user picker custom field (single)
      4. add it to create and edit issue screens
      5. Try to create/edit issue. Type 'i' ,'I', 'U' or 'u' in the user picker custom field.
      6. The error pop-up appears on the screen.

      Loom video link demonstrating the replication of the issue: https://www.loom.com/share/d7b138ef337a4832ba5c254f66986507

      Expected Results

      There should be a dropdown displayed with matching results.

      Actual Results

      There is an error pop-up on the browser.
      On analysing the logs, below error can be noticed:

      {{2025-06-20 07:26:38,948+0000 http-nio-8080-exec-8 url: /jira/rest/api/1.0/users/picker; user: admin ERROR admin 446x186x1 gciz7f 172.29.190.69,172.50.0.5 /rest/api/1.0/users/picker [c.a.p.r.c.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: index 18, length 18
      java.lang.StringIndexOutOfBoundsException: index 18, length 18
          at java.base/java.lang.String.checkIndex(String.java:4565)
          at java.base/java.lang.StringUTF16.checkIndex(StringUTF16.java:1624)
          at java.base/java.lang.StringUTF16.charAt(StringUTF16.java:1421)
          at java.base/java.lang.String.charAt(String.java:1519)
          at com.atlassian.jira.util.DelimeterInserter.isAtStartOfWord(DelimeterInserter.java:151)
          at com.atlassian.jira.util.DelimeterInserter.populateMarkers(DelimeterInserter.java:283)
          at com.atlassian.jira.util.DelimeterInserter.insert(DelimeterInserter.java:202)
          at com.atlassian.jira.rest.v1.users.UserPickerResource.formatUser(UserPickerResource.java:272)
          at com.atlassian.jira.rest.v1.users.UserPickerResource.getUsers(UserPickerResource.java:181)
          at com.atlassian.jira.rest.v1.users.UserPickerResource.getUsersResponse(UserPickerResource.java:105)
          at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
          at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.base/java.lang.reflect.Method.invoke(Method.java:569)
          ... 3 filtered
          at com.atlassian.jira.rest.v2.issue.scope.RequestScopeInterceptor.intercept(RequestScopeInterceptor.java:39)
          ... 14 filtered
          at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:171)
          ... 1 filtered
          at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:75)
          ... 36 filtered
          at com.atlassian.jira.plugin.mobile.web.filter.MobileAppRequestFilter.doFilter(MobileAppRequestFilter.java:59)
          ... 4 filtered}}
      

      Workaround

      1. Copy and paste the names of the required users directly.
      2. Replace or avoid the special character İ in the username

              Unassigned Unassigned
              3971bed95a28 Meenakshi Jha
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: