Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-33688

Misleading error message appears if we try to update a closed issue using SOAP API (updateIssue)

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Won't Do
    • None
    • None
    • None
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    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

          Activity

            People

              Unassigned Unassigned
              afaisal Ahmad Faisal (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: