JIRA REST API for creating issue returns 201 on success

XMLWordPrintable

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

      The doc here:
      https://docs.atlassian.com/jira/REST/ondemand/#d2e2323

      for POST /rest/api/2/issue
      says it should be 200.

      available response representations:

      200 - application/json (issue) [collapse]
      Example

      Unknown macro: { "id"}

      Returns a link to the created issue.

      400 [expand]

      The actual answer is

      201 - Created

            Assignee:
            Oswaldo Hernandez (Inactive)
            Reporter:
            Yves Berquin [Matrix Requirements]
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: