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

Changing the Component Lead of an existing Component throws 'the user <username> does not exist' on save due to mismatch in user key and username

XMLWordPrintable

      Summary

      Cannot set usernames with upper case letters as Component Leads for existing components.

      Environment

      • Use of upper- or mixed case for the logon name (username);

      Steps to Reproduce using Active Directory

      1. Create a username with upper- or mixed case in AD. For example: ROCKY;
      2. Sync the directory to JIRA;
      3. Create a component in any project - under Project Settings > Components and any user as the Lead;
      4. Once the component is created, click Edit under the 'Actions' menu;
      5. Search for the user created in AD to be the Component Lead;
      6. Save;

      Expected Results

      User should be assigned as Component Lead.

      Actual Results

      When saving the user, it will throw an error:

      The user <username> does not exist.
      

      Notes

      • This error only affects editing Component Leads. Creating a new component using a mixed case Component Lead will work as expected.
      • The problem affects Internal Directory users with mixed cases as well.

      Workaround

      Use the JIRA REST API to edit the component and update the Component Lead:

        1. screenshot-1.png
          22 kB
          Adrian Stephen
        2. screenshot-2.png
          39 kB
          Adrian Stephen
        3. screenshot-3.png
          34 kB
          Adrian Stephen
        4. screenshot-4.png
          49 kB
          Adrian Stephen
        5. screenshot-5.png
          34 kB
          Adrian Stephen
        6. screenshot-6.png
          4 kB
          Adrian Stephen
        7. screenshot-7.png
          3 kB
          Adrian Stephen

              okovalov Oleg Kovalov (Inactive)
              astephen@atlassian.com Adrian Stephen
              Votes:
              24 Vote for this issue
              Watchers:
              70 Start watching this issue

                Created:
                Updated:
                Resolved: