Atlassian · Example Payload

Atlassian Atlassianaddissuetypestocontext Example

CodeCollaborationPlatformProductivitySoftware Development

Atlassian Atlassianaddissuetypestocontext 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": "atlassianAddissuetypestocontext",
  "method": "PUT",
  "path": "/rest/api/3/field/{fieldId}/context/{contextId}/issuetype",
  "summary": "Atlassian Add Issue Types To Context",
  "requestExamples": [
    {
      "contentType": "application/json",
      "example": {
        "issueTypeIds": [
          "10001",
          "10005",
          "10006"
        ]
      }
    }
  ],
  "responseExamples": [
    {
      "status": "400",
      "contentType": "application/json",
      "example": "{\"errorMessages\":[\"These issue types are already associated with the context: 10001.\"],\"errors\":{}}"
    },
    {
      "status": "403",
      "contentType": "application/json",
      "example": "{\"errorMessages\":[\"Only Jira administrators can access custom field contexts.\"],\"errors\":{}}"
    },
    {
      "status": "404",
      "contentType": "application/json",
      "example": "{\"errorMessages\":[\"The context was not found.\"],\"errors\":{}}"
    },
    {
      "status": "409",
      "contentType": "application/json",
      "example": "{\"errorMessages\":[\"Sub-tasks are disabled in Jira. At least one of the issue types is a sub-task.\"],\"errors\":{}}"
    }
  ]
}