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

JIRA REST API for creating issue returns 201 on success

    XMLWordPrintable

Details

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              ohernandez@atlassian.com Oswaldo Hernandez (Inactive)
              aebe7223982d Yves Berquin [Matrix Requirements]
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: