Create a new playbook run
Create a new playbook run in a team, using a playbook as template, with a specific name and a specific owner.
Request body
Example request
{
"name": "Server down in EU cluster",
"summary": "There is one server in the EU cluster that is not responding since April 12.",
"owner_user_id": "bqnbdf8uc0a8yz4i39qrpgkvtg",
"team_id": "61ji2mpflefup3cnuif80r5rde",
"post_id": "b2ntfcrl4ujivl456ab4b3aago",
"playbook_id": "0y4a0ntte97cxvfont8y84wa7x"
}Response
Created playbook run.
Example response
{
"id": "mx3xyzdojfgyfdx8sc8of1gdme",
"name": "Server down in EU cluster",
"summary": "There is one server in the EU cluster that is not responding since April 12.",
"owner_user_id": "bqnbdf8uc0a8yz4i39qrpgkvtg",
"team_id": "61ji2mpflefup3cnuif80r5rde",
"channel_id": "hwrmiyzj3kadcilh3ukfcnsbt6",
"create_at": 1606807976289,
"active_stage": 1,
"active_stage_title": "Triage issue",
"post_id": "b2ntfcrl4ujivl456ab4b3aago",
"playbook_id": "0y4a0ntte97cxvfont8y84wa7x",
"checklists": [
{
"id": "6f6nsgxzoq84fqh1dnlyivgafd",
"title": "Triage issue",
"items": [
{
"id": "6f6nsgxzoq84fqh1dnlyivgafd",
"title": "Gather information from customer.",
"state": "closed",
"state_modified": 1607774621321,
"assignee_id": "pisdatkjtdlkdhht2v4inxuzx1",
"assignee_modified": 1608897821125,
"command": "/opsgenie on-call",
"command_last_run": 1608552221019,
"description": "Ask the customer for more information in [Zendesk](https://www.zendesk.com/).",
"delete_at": 1607774621321,
"due_date": 1607774621321,
"requirements": [
{
"id": "req1abcxyz",
"label": "Ticket URL",
"value": "https://jira.example.com/browse/ABC-123"
}
],
"update_at": 1607774621321,
"condition_id": "6f6nsgxzoq84fqh1dnlyivgafd",
"condition_action": "hidden",
"condition_reason": "Severity is Critical AND Status is not Closed"
}
]
}
]
}Changes
Changed in 4 of the 47 revisions of this API.211
- ○
added the optional property
checklists/items/items/items/requirementsto the response with the201statusresponse-optional-property-added
- ○
- ●
removed the request property
descriptionrequest-property-removed
- ●
removed the optional property
descriptionfrom the response with the201statusresponse-optional-property-removed
- ○
added the new optional request property
summarynew-optional-request-property
- ○
added the optional property
summaryto the response with the201statusresponse-optional-property-added
- ●
- ○
added the optional property
checklists/items/items/items/condition_actionto the response with the201statusresponse-optional-property-added
- ○
added the optional property
checklists/items/items/items/condition_idto the response with the201statusresponse-optional-property-added
- ○
added the optional property
checklists/items/items/items/condition_reasonto the response with the201statusresponse-optional-property-added
- ○
added the optional property
checklists/items/items/items/delete_atto the response with the201statusresponse-optional-property-added
- ○
added the optional property
checklists/items/items/items/due_dateto the response with the201statusresponse-optional-property-added
- ○
added the optional property
checklists/items/items/items/task_actionsto the response with the201statusresponse-optional-property-added
- ○
added the optional property
checklists/items/items/items/update_atto the response with the201statusresponse-optional-property-added
- ○
- ○
endpoint added
endpoint-added
- ○