Details
-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
7.3.0, 7.1.10, 7.0.0, 7.13.0
-
7
-
8
-
Severity 3 - Minor
-
3
-
Description
Summary
Deleting Role-Actor per the API Documentation listed here:
Additional Note on Syntax: https://jira.atlassian.com/browse/JRA-43999
DELETE http://<BASE_URL>/rest/api/2/project/{projectIdOrKey}/role/{roleID}?user='user_name' OR DELETE http://<BASE_URL>/rest/api/2/project/{projectIdOrKey}/role/{roleID}?group='group_name'
Will Produce a 204 successful event but the user/group is not removed if they are associated to an external read only directory
Environment
- REST API for JIRA server 7.0.X +
Steps to Reproduce
- Connect JIRA to an external LDAP directory as Read only
- AddExternal user to A project Role
- Attempt to delete the user from the role via API
- Receive Status 204 Returned if the actor was successfully removed from the project role.
Expected Results
User is no longer associated to the Project Role
Actual Results
User is still associated to the role
Notes
The opperation completes successfully with the same external user in the Web UI
the API operation completes successfully for users in the internal user directory directory ID=1
Workaround
Modify the Project Role for users in an external directory from the project settings in the Web Interface
Attachments
Issue Links
- relates to
-
JRASERVER-68189 Certain REST API endpoints require UserKey instead of UserName
- Closed