{ "operationId": "atlassianPublishdraftworkflowscheme", "method": "POST", "path": "/rest/api/3/workflowscheme/{id}/draft/publish", "summary": "Atlassian Publish Draft Workflow Scheme", "requestExamples": [ { "contentType": "application/json", "example": { "statusMappings": [ { "issueTypeId": "10001", "newStatusId": "1", "statusId": "3" }, { "issueTypeId": "10001", "newStatusId": "2", "statusId": "2" }, { "issueTypeId": "10002", "newStatusId": "10003", "statusId": "10005" }, { "issueTypeId": "10003", "newStatusId": "1", "statusId": "4" } ] } } ], "responseExamples": [ { "status": "400", "contentType": "application/json", "example": "{\"errorMessages\":[\"Issue type with ID '2','4' is missing the mappings required for statuses with IDs 10004.\"],\"errors\":{}}" }, { "status": "404", "contentType": "application/json", "example": "{\"errorMessages\":[\"Draft workflow scheme was not found.\"],\"errors\":{}}" } ] }