Atlassian · Example Payload

Atlassian Atlassianupdatecustomfieldcontext Example

CodeCollaborationPlatformProductivitySoftware Development

Atlassian Atlassianupdatecustomfieldcontext 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": "atlassianUpdatecustomfieldcontext",
  "method": "PUT",
  "path": "/rest/api/3/field/{fieldId}/context/{contextId}",
  "summary": "Atlassian Update Custom Field Context",
  "requestExamples": [
    {
      "contentType": "application/json",
      "example": {
        "description": "A context used to define the custom field options for bugs.",
        "name": "Bug fields context"
      }
    }
  ],
  "responseExamples": [
    {
      "status": "400",
      "contentType": "application/json",
      "example": "{\"errorMessages\":[\"The contextId has to be provided.\"],\"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\":{}}"
    }
  ]
}