Atlassian · Example Payload

Atlassian Atlassianreordercustomfieldoptions Example

CodeCollaborationPlatformProductivitySoftware Development

Atlassian Atlassianreordercustomfieldoptions Example is an example object payload from Atlassian, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummaryrequestExamplesresponseExamples

Example Payload

Raw ↑
{
  "operationId": "atlassianReordercustomfieldoptions",
  "method": "PUT",
  "path": "/rest/api/3/field/{fieldId}/context/{contextId}/option/move",
  "summary": "Atlassian Reorder Custom Field Options Context",
  "requestExamples": [
    {
      "contentType": "application/json",
      "example": {
        "customFieldOptionIds": [
          "10001",
          "10002"
        ],
        "position": "First"
      }
    }
  ],
  "responseExamples": [
    {
      "status": "400",
      "contentType": "application/json",
      "example": "{\"errorMessages\":[\"'after' and 'position' were provided. Only 'after' or 'position' can be specified.\"],\"errors\":{}}"
    },
    {
      "status": "403",
      "contentType": "application/json",
      "example": "{\"errorMessages\":[\"Only Jira administrators can manage custom field options.\"],\"errors\":{}}"
    },
    {
      "status": "404",
      "contentType": "application/json",
      "example": "{\"errorMessages\":[\"The custom field was not found.\"],\"errors\":{}}"
    }
  ]
}