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

API docs for PUT /rest/api/2/issue don't list 204 as a return code

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • None
    • 6.0.6, 6.3.15, 6.4.5
    • REST API

      The API docs say that an issue can be edited with a PUT request to /rest/api/2/issue/{issueIdOrKey} and only two response codes are listed: 200 and 400. However, it appears that a 204 response can also be returned, so the docs should be updated to mention that.

      The request I was sending was to update a custom field. I don't know if that makes a difference, and I don't know what controls whether 200 or 204 is returned.

              Unassigned Unassigned
              439a806708f9 Eric Hawicz
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: