Details
-
Suggestion
-
Resolution: Won't Do
-
None
-
None
-
None
Description
NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? See the corresponding suggestion.
Note that this test was performed on a closed issue, and the Closed status contain the property to make the issue non-editable
When updating a closed issue using the SOAP method updateIssue, the process will fail with the following error:
Exception in thread "main" AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: com.atlassian.jira.rpc.exception.RemoteValidationException: Fields not valid for issue: Errors: {} Error Messages: [You do not have permission to edit issues in this project.] faultActor: faultNode: faultDetail: {}com.atlassian.jira.rpc.exception.RemoteException:null {http://xml.apache.org/axis/}hostname:afaisal-PC com.atlassian.jira.rpc.exception.RemoteValidationException: Fields not valid for issue: Errors: {} Error Messages: [You do not have permission to edit issues in this project.] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [......]
The error message "You do not have permission to edit issues in this project" is correct, but the RemoteValidationException: Fields not valid for issue can be misleading.
It will be great if we can update the error message so stating that the error occur because the issue is non-editable in Closed status.
Attachments
Issue Links
- relates to
-
JRACLOUD-33688 Misleading error message appears if we try to update a closed issue using SOAP API (updateIssue)
- Closed