-
Type:
Suggestion
-
Resolution: Won't Do
-
None
-
Component/s: None
-
None
NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? See the corresponding suggestion.
https://docs.atlassian.com/jira/REST/latest/#id162673
The current implementation allows for PUT, POST calls allow for application/json request for input parameters, for example:
{ "user" : ["admin"] } or
{ "group" : ["jira-developers"] }
The DELETE method, however, does not accept application/json, but you instead need to append the URL:
/rest/api/2/project/{projectKey}/role/{id}?user={username} /rest/api/2/project/{projectKey}/role/{id}?group={groupname}
This behaviour is inconsistent between the methods. We should allow the DELETE method to also allow for application/json
(Also, there's no documentation example on how to make a DELETE call to projectroles. Users who attempt this may get confused)
- relates to
-
JRACLOUD-33367 REST API handling inconsistent for Project Roles
- Closed
-
JRASERVER-32422 Update JIRA REST documentation about removing a user from a project role
- Closed