Get edit issue meta REST call returns empty fields for non editable issue.

XMLWordPrintable

    • 1

      NOTE: This suggestion is for JIRA Cloud. Using JIRA Server? See the corresponding suggestion.

      Steps to reproduce:

      1. Create a project and edit its workflow.
      2. On any of the status, add a workflow properties jira.issue.editable with value false
      3. Publish the workflow.
      4. Create an issue and transition it to the status with the workflow properties above.
      5. After the targeted status is set to the issue, run the following REST api.
        curl -X GET <JIRA Base URL>/rest/api/latest/issue/<Above issue key>/editmeta -u <username>:<password>

      Expected Result:

      1. As in the previous response, it will show the fields that could be edited.
      2. Returns message that the issue is not editable.

      Actual Result:

      • This returns instead:
        {"fields":{}}
        

      Notes:

      If the actual results is actually what is expected, it would be great if it returns a message that it is not editable instead.

            Assignee:
            Unassigned
            Reporter:
            Julian (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: