Documentation Update - Update "Create Issue" API Responses

XMLWordPrintable

    • 1

      TASK:
      Please update the error-example shown in our "Create Issue" example

      Doc-Link: https://docs.atlassian.com/software/jira/docs/api/REST/9.3.0/#api/2/issue-createIssue

      Issue:
      The "error" example we provide in this sample shows that the priority field must be included, however, Jira sets the priority to a default value if it's missing from the request payload.

      {
          "errorMessages": [
              "Field 'priority' is required"
          ],
          "errors": {}
      }
      

      Update:
      This can be any other error but it cannot be an error where the priority field is missing. For example:

      {
        "errorMessages": [],
        "errors": {
          "priority": "Could not find valid 'id' or 'name' in priority object."
        }
      }
      

      Additional Reference:

              Assignee:
              Daria Shatsylo (Inactive)
              Reporter:
              Patrick Turbett
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: