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

LDAP users and groups starting with #, & special characters are not returned in user picker fields

      Summary

      LDAP groups/users with a name starting with # are not shown in the user picker fields. 

      The groups/users are visible in User Management. 

      Environment

      • JIRA 8.10 or latest

      Steps to Reproduce

      1. Create groups/users with #, & in Jira
      2. The same groups/users are synced from LDAP and visible in Jira UI 
      3. When searched in user pickers fields, the groups/users are not shown.

      Expected Results

      Return groups/users with names starting with #, &

      Actual Results

      No groups/users are returned/some results showed 

      Workaround

      Use groups/users with names not starting with #, &

      OR

      Search by the special character (# or &)

       

            [JRASERVER-71476] LDAP users and groups starting with #, & special characters are not returned in user picker fields

            fvinhas added a comment -

            I have same problem, upgrade Jira Datacenter version 8.22.6 and users login error with nested groups with special character # in dn

            fvinhas added a comment - I have same problem, upgrade Jira Datacenter version 8.22.6 and users login error with nested groups with special character # in dn

            Ben Szmyt added a comment -

            What other things could you search for in the group to bring up a result? Is there  work around for this? I am having the same issue and cannot figure it out.

            Ben Szmyt added a comment - What other things could you search for in the group to bring up a result? Is there  work around for this? I am having the same issue and cannot figure it out.

            Note that at the very least - the role add UI is not properly encoding it's submitted request - if you search for &test you wind up seeing &test in the raw URL instead of the URI-encoded value. Even if the underlying bug with the list results isn't fixed, that needs corrected.

            In my case, I was able to compensate by searching for something else in the group name that let it be returned.

            Nathan Neulinger added a comment - Note that at the very least - the role add UI is not properly encoding it's submitted request - if you search for &test you wind up seeing &test in the raw URL instead of the URI-encoded value. Even if the underlying bug with the list results isn't fixed, that needs corrected. In my case, I was able to compensate by searching for something else in the group name that let it be returned.

            Tibor Marchyn added a comment - - edited

            Same applies for "&" character. "&" is processed on backend as wildcard but not showing groups with "&" in name. Example is group named "R&D". When admin type "R" it started to filtering groups, but when type "R&" it show same results as "R", but still group named "R&D" not showed in user/group picker in project roles. It's critical as there is no workaround, neither renaming group is possible or replacing by alternative groups.

             

            Not working from version 8.9.0

            Tibor Marchyn added a comment - - edited Same applies for "&" character. "&" is processed on backend as wildcard but not showing groups with "&" in name. Example is group named "R&D". When admin type "R" it started to filtering groups, but when type "R&" it show same results as "R", but still group named "R&D" not showed in user/group picker in project roles. It's critical as there is no workaround, neither renaming group is possible or replacing by alternative groups.   Not working from version 8.9.0

              Unassigned Unassigned
              mkhan2@atlassian.com Danish (Inactive)
              Affected customers:
              4 This affects my team
              Watchers:
              9 Start watching this issue

                Created:
                Updated: