-
Bug
-
Resolution: Fixed
-
Low
-
7.0.10, 7.1.1, 7.2.13, 7.3.3
-
7
-
11
-
Severity 3 - Minor
-
4
-
NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.
Summary
Cannot remove user from project roles in project administration > Users and Roles
Environment
JIRA v7.1.1
Steps to Reproduce
- Create a new user with username that starts with '0'. Example '06744'
- Add user to any project role
- Click on the trash icon to remove user from project roles in project administration > Users and Roles
Expected Results
User should be removed from the Project Role
Actual Results
User is not removed from the Project Role
Notes
- This is caused by the request to delete the user automatically dropping the '0' from the username. The Har file shows that the user: 6477 is deleted from the project role, instead of the expected '06477' username.
- This problem is reproducible with groupname which starts with "0" as well.
- Does not happen on JIRA 6.x
Workaround
- Remove the user from project roles in JIRA administration > User Management instead
- Avoiding the use of numeric usernames, or using the REST API to manually remove the user from the project role:
curl '<BASE-URL>/rest/api/2/project/XXXX/role/10002?user=06744' -X DELETE -u....
- is duplicated by
-
JRASERVER-62435 User in Project Role cannot be removed if the username starts with "0"
-
- Closed
-
-
JRASERVER-65259 Unable to remove users and groups that start with 0 from the Project Roles
-
- Closed
-
- is resolved by
-
JRASERVER-43422 Update the jQuery version used in Jira for better compatibility
- Closed
- relates to
-
JRACLOUD-60203 Unable to remove user from Project Roles in project administration when the username starts with 0
-
- Closed
-
-
MNSTR-1893 Loading...
- was cloned as
-
JRASERVER-69639 Unable to remove user from "Shared with" in service desk customer portal when the username starts with 0
-
- Closed
-