Atlassian · Example Payload

Atlassian Atlassiancreatecustomfieldcontext Example

CodeCollaborationPlatformProductivitySoftware Development

Atlassian Atlassiancreatecustomfieldcontext 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": "atlassianCreatecustomfieldcontext",
  "method": "POST",
  "path": "/rest/api/3/field/{fieldId}/context",
  "summary": "Atlassian Create Custom Field Context",
  "requestExamples": [
    {
      "contentType": "application/json",
      "example": {
        "description": "A context used to define the custom field options for bugs.",
        "issueTypeIds": [
          "10010"
        ],
        "name": "Bug fields context",
        "projectIds": []
      }
    }
  ],
  "responseExamples": [
    {
      "status": "201",
      "contentType": "application/json",
      "example": "{\"id\":\"10025\",\"name\":\"Bug fields context\",\"description\":\"A context used to define the custom field options for bugs.\",\"projectIds\":[],\"issueTypeIds\":[\"10010\"]}"
    },
    {
      "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\":{}}"
    }
  ]
}