This resource represents Post-incident review of a Jira Service Management Incident. Use this resource to get, link and unlink an incident to a Post-incident review. See Post-incident review for details.
Returns primary incident to a Jira Service Management Post-incident review
License required: Premium or Enterprise
read:incident:jira-service-management
integer
RequiredReturned if the request is successful
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'
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": []
}
}
"Remove primary incident to a Jira Service Management Post-incident review
License required: Premium or Enterprise
read:incident:jira-service-management
write:incident:jira-service-management
integer
RequiredReturned if the request is successful.
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>'
Add primary incident to a Jira Service Management Post-incident review.
License required: Premium or Enterprise
read:incident:jira-service-management
write:incident:jira-service-management
integer
Requiredinteger
RequiredReturned if the request is successful.
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
}'
Creates a Post-incident review to a Jira Service Management Incident.
License required: Premium or Enterprise
read:incident:jira-service-management
write:incident:jira-service-management
integer
Requiredstring
Requiredstring
Requiredobject
Returned if the request is successful
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"
}
}'
1
2
3
4
5
{
"id": "10050",
"key": "ITSM-30",
"self": "http://your-domain.atlassian.net/rest/api/3/issue/10050"
}
Rate this page: