Cloud
Incidents / Reference / REST API

Post-incident review

Postman Collection
OpenAPI
GET

Get primary incidentExperimental

Returns primary incident to a Jira Service Management Post-incident review

read:incident:jira-service-management

Request

Path parameters

issueID

integer

Required

Responses

Returned if the request is successful

application/json

IncidentDTO
GET/jsm/incidents/cloudId/{cloudId}/v1/post-incident-review/{issueID}/primary-incident
1 2 3 4 curl --request GET \ --url 'https://api.atlassian.com/jsm/incidents/cloudId/{cloudId}/v1/post-incident-review/{issueID}/primary-incident' \ --header 'Authorization: Bearer <access_token>' \ --header 'Accept: application/json'
200Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 { "summary": "Mia create this incident", "reporter": { "accountId": "99:27935d01-92a7-4687-8272-a9b8d3b2ae2e", "accountType": "ATLASSIAN_ACCOUNT", "displayName": "Mia Krystof" }, "priority": { "name": "Medium", "id": "3" }, "status": { "id": "1", "name": "Open", "statusCategory": { "id": 2, "key": "new", "name": "To Do" } }, "participants": { "fieldId": "customfield_10000", "value": [] }, "majorIncident": { "fieldId": "customfield_10001", "value": null }, "responders": { "fieldId": "customfield_10002", "value": [ { "ari": "ari:cloud:identity::user/99:27935d01-92a7-4687-8272-a9b8d3b2ae2e", "name": "Mia Krystof", "type": "user" } ] }, "affectedServices": { "fieldId": "customfield_10003", "value": [] } }
DEL

Remove primary incidentExperimental

Remove primary incident to a Jira Service Management Post-incident review

read:incident:jira-service-management
,
write:incident:jira-service-management

Request

Path parameters

issueID

integer

Required

Responses

Returned if the request is successful.

DEL/jsm/incidents/cloudId/{cloudId}/v1/post-incident-review/{issueID}/primary-incident/remove
1 2 3 curl --request DELETE \ --url 'https://api.atlassian.com/jsm/incidents/cloudId/{cloudId}/v1/post-incident-review/{issueID}/primary-incident/remove' \ --header 'Authorization: Bearer <access_token>'
POST

Add primary incidentExperimental

Add primary incident to a Jira Service Management Post-incident review

read:incident:jira-service-management
,
write:incident:jira-service-management

Request

Path parameters

issueID

integer

Required

Request bodyapplication/json

issueID

integer

Required

Responses

Returned if the request is successful.

POST/jsm/incidents/cloudId/{cloudId}/v1/post-incident-review/{issueID}/primary-incident/add
1 2 3 4 5 6 7 curl --request POST \ --url 'https://api.atlassian.com/jsm/incidents/cloudId/{cloudId}/v1/post-incident-review/{issueID}/primary-incident/add' \ --header 'Authorization: Bearer <access_token>' \ --header 'Content-Type: application/json' \ --data '{ "issueID": 10050 }'
POST

Create Post-incident reviewExperimental

Creates a Post-incident review to a Jira Service Management Incident.

read:incident:jira-service-management
,
write:incident:jira-service-management

Request

Request bodyapplication/json

issueID

integer

Required
serviceDeskId

string

Required
requestTypeId

string

Required
fields

object

Responses

Returned if the request is successful

application/json

CreateIssueResponse
POST/jsm/incidents/cloudId/{cloudId}/v1/post-incident-review
1 2 3 4 5 6 7 8 9 10 11 12 13 curl --request POST \ --url 'https://api.atlassian.com/jsm/incidents/cloudId/{cloudId}/v1/post-incident-review' \ --header 'Authorization: Bearer <access_token>' \ --header 'Accept: application/json' \ --header 'Content-Type: application/json' \ --data '{ "incidentIssueId": 10075, "requestTypeId": "20", "serviceDeskId": "3", "fields": { "summary": "PIRfromJSMIncidentsAPIs" } }'
201Response
1 2 3 4 5 { "id": "10050", "key": "ITSM-30", "self": "http://your-domain.atlassian.net/rest/api/3/issue/10050" }

Rate this page: