Atlassian · Example Payload

Atlassian Atlassianupdatedraftworkflowmapping Example

CodeCollaborationPlatformProductivitySoftware Development

Atlassian Atlassianupdatedraftworkflowmapping 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": "atlassianUpdatedraftworkflowmapping",
  "method": "PUT",
  "path": "/rest/api/3/workflowscheme/{id}/draft/workflow",
  "summary": "Atlassian Set Issue Types For Workflow In Workflow Scheme",
  "requestExamples": [
    {
      "contentType": "application/json",
      "example": {
        "issueTypes": [
          "10000"
        ],
        "updateDraftIfNeeded": true,
        "workflow": "jira"
      }
    }
  ],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": "{\"defaultWorkflow\":\"jira\",\"description\":\"The description of the example workflow scheme.\",\"draft\":false,\"id\":101010,\"issueTypeMappings\":{\"10000\":\"scrum workflow\",\"10001\":\"builds workflow\"},\"name\":\"Example workflow scheme\",\"self\":\"https://your-domain.atlassian.net/rest/api/3/workflowscheme/101010\"}"
    }
  ]
}