-
Bug
-
Resolution: Fixed
-
High
-
8.2.0, 8.2.1, 8.2.2
-
8.02
-
8
-
Severity 2 - Major
-
8
-
Issue Summary
If we rename a user in Jira 8.2.0, add a renamed user in a project role, Jira won't allow the user to be removed from the project role. Based on our observation, adding the users in the project role inserts jira (user_key) value of the user in the projectroleactor table
app_user
id | user_key | lower_user_name |
10803 | jira | jira123 |
projectroleactor
id | pid | projectroleid | roletype | roletypeparameter |
11209 | 10000 | 10002 | atlassian-user-role-actor | jira |
however, removing the user, JIRA tries to look for jira123 which is the lower_user_name in the projectroleactor table. In the above example, since it was jira (user_key) that has been inserted in the projectroleactor table, jira123 (lower_user_name) is nowhere to be found. Thus, JIRA does not allow this user to be removed from the project role.
Environment
Jira 8.2.0
Steps to Reproduce
- Create a user in Jira
- Rename the user
- Add the user in any project role
- Attempt to remove the user from the project tole
Expected Results
The user will be removed from the project role
Actual Results
Nothing happens.
Workaround
Execute the following REST endpoint to delete the user from the role: Delete actor
/rest/api/2/project/{projectIdOrKey}/role/{roleId}?user={username}
Note
Tested in JIRA 8.0 and the bug can't be reproduced
- relates to
-
MNSTR-2929 Loading...