Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-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
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      NOTE: This suggestion is for JIRA Cloud. Using JIRA Server? 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: