-
Bug
-
Resolution: Fixed
-
Low
-
7.2.0-OD-05, Archived Jira Cloud
-
7.02
-
NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.
Summary
It's not possible to edit the Component Lead and assign it to specific users. Below error message is shown:
The user "username" does not exist.
Steps to Reproduce
- Have a project and some Components (Component One and Two)
- Have a user and rename it (i.e from John to A)
- Assign it to users (A: affected user, B: not affected)
- Edit both components
Current Result
- Component One with A as the Component Lead shows grey avatar icon instead of their uploaded avatar and the old username
- Component Two with B as the Component Lead shows the uploaded avatar but when I assign A as the new Component Lead, below error is displayed.
Expected Result
- Component One with A as the Component Lead shows their uploaded avatar and the new username
- Able to assign A as the new Component Lead in Component Two.
Notes
Users can still create a new component with the affected users (A) as the Component Lead, but not editing the existing one.
Workaround
Update the component lead using REST API:
curl -D- -u username:password -X PUT --data {see below} -H "Content-Type: application/json" https://instance.atlassian.net/rest/api/2/component/<component_ID>
{ "leadUserName": "username" }
Tips
In order to quickly gather components for the project via REST API:
- Grab Project ID by running a GET
https://<instance>.atlassian.net/rest/api/2/project/
- Insert ProjectID into this GET
https://<instance>.atlassian.net/rest/api/2/project/<ProjectID>/
A list of all the current components to the project will appear.
- is duplicated by
-
JRASERVER-60573 Unable to edit components after previously changing all users' user logins from the format <firstname>.<lastname> to their email address
- Closed
- relates to
-
JRASERVER-62551 Unable to assign certain user as a Component Lead
- Closed
-
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
- Closed
-
JRACLOUD-60467 Unable to assign certain user as a Component Lead
- Closed
-
JRASERVER-60778 Unable to edit a component to set a user with uppercase characters in their username as Component Lead
- Closed
- is related to
-
JST-193149 Loading...
- was cloned as
-
JDEV-36818 Loading...