{ "operationId": "atlassianUpdateworkflowtransitionruleconfigurations", "method": "PUT", "path": "/rest/api/3/workflow/rule/config", "summary": "Atlassian Update Workflow Transition Rule Configurations", "requestExamples": [ { "contentType": "application/json", "example": { "workflows": [ { "conditions": [ { "configuration": { "disabled": false, "tag": "Another tag", "value": "{ \"size\": \"medium\" }" }, "id": "d663bd873d93-59f5-11e9-8647-b4d6cbdc" } ], "postFunctions": [ { "configuration": { "disabled": false, "tag": "Sample tag", "value": "{ \"color\": \"red\" }" }, "id": "b4d6cbdc-59f5-11e9-8647-d663bd873d93" } ], "validators": [ { "configuration": { "disabled": false, "value": "{ \"shape\": \"square\" }" }, "id": "11e9-59f5-b4d6cbdc-8647-d663bd873d93" } ], "workflowId": { "draft": false, "name": "My Workflow name" } } ] } } ], "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}\"]}]}" } ] }