Atlassian · Example Payload

Atlassian Atlassiandeleteworkflowtransitionruleconfigurations Example

CodeCollaborationPlatformProductivitySoftware Development

Atlassian Atlassiandeleteworkflowtransitionruleconfigurations 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": "atlassianDeleteworkflowtransitionruleconfigurations",
  "method": "PUT",
  "path": "/rest/api/3/workflow/rule/config/delete",
  "summary": "Atlassian Delete Workflow Transition Rule Configurations",
  "requestExamples": [
    {
      "contentType": "application/json",
      "example": {
        "workflows": [
          {
            "workflowId": {
              "draft": false,
              "name": "Internal support workflow"
            },
            "workflowRuleIds": [
              "b4d6cbdc-59f5-11e9-8647-d663bd873d93",
              "d663bd873d93-59f5-11e9-8647-b4d6cbdc",
              "11e9-59f5-b4d6cbdc-8647-d663bd873d93"
            ]
          }
        ]
      }
    }
  ],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": "{\"updateResults\":[{\"workflowId\":{\"name\":\"Workflow with one rule not updated\",\"draft\":false},\"ruleUpdateErrors\":{\"example-rule-id\":[\"The rule with this id does not exist: example-rule-id\"]},\"updateErrors\":[]},{\"workflowId\":{\"name\":\"Workflow with all rules successfully updated\",\"draft\":true},\"ruleUpdateErrors\":{},\"updateErrors\":[]},{\"workflowId\":{\"name\":\"Non-existing workflow\",\"draft\":false},\"ruleUpdateErrors\":{},\"updateErrors\":[\"Workflow not found: WorkflowIdBean{name=Non-existing workflow, draft=false}\"]}]}"
    },
    {
      "status": "400",
      "contentType": "application/json",
      "example": "{\"errorMessages\":[\"Jira Administration permission is required to access workflow configuration.\"],\"errors\":{},\"httpStatusCode\":{\"empty\":false,\"present\":true}}"
    }
  ]
}