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

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

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • REST API
    • None
    • 1
    • 6
    • 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.

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

              Unassigned Unassigned
              jrahmadiputra Julian (Inactive)
              Votes:
              4 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: