Details
-
Bug
-
Resolution: Obsolete
-
Low
-
None
-
5.2.8, 6.1.6
-
5.02
-
3
-
Severity 3 - Minor
-
1
-
Description
Steps to reproduce:
- Install JIRA 5.2.8 and enable the remote API;
- Create a new request using the following content:
{ "user" : ["admin"] }
Note the request is according to the documentation.
- Trigger it using 'PUT' method against the URL http://jira.domain.com/rest/api/2/project/PROJECT-KEY/role/ROLE-ID.
Current behavior:
- JIRA will display the following error:
{ "errorMessages": [ "Unrecognized field \"user\" (Class com.atlassian.jira.rest.v2.issue.project.ProjectRoleActorsUpdateBean), not marked as ignorable\n at [Source: org.apache.catalina.connector.CoyoteInputStream@4894b388; line: 1, column: 13] (through reference chain: com.atlassian.jira.rest.v2.issue.project.ProjectRoleActorsUpdateBean[\"user\"])" ] }
- The user 'admin' was not added on the project role which has the ID 10001;
Expected behavior:
- The user 'admin' should be updated on the project role which has the ID 10001;
Possible workaround:
- The method 'POST' is working for the same URL.