This resource represents affected services of a Jira Service Management Incident. Use this resource to get, add and remove affected services to an incident issue.
Adds affected services to a Jira Service Management Incident
read:incident:jira-service-management
write:incident:jira-service-management
integer
Requiredarray<AffectedServicesAri>
RequiredReturned if the request is successful.
1
2
3
4
5
6
7
8
9
10
11
curl --request POST \
--url 'https://api.atlassian.com/jsm/incidents/cloudId/{cloudId}/v1/incident/{issueID}/affected-service/add' \
--header 'Authorization: Bearer <access_token>' \
--header 'Content-Type: application/json' \
--data '{
"affectedServices": [
{
"ari": "ari:cloud:graph::service/88b53f41-0fa3-4371-95f7-ef8e65910943/4f302e3a-b39c-11ee-8d82-0e3e7a21a911"
}
]
}'
Returns affected services to a Jira Service Management Incident.
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/incident/{issueID}/affected-service' \
--header 'Authorization: Bearer <access_token>' \
--header 'Accept: application/json'
1
2
3
4
5
6
7
{
"affectedServices": [
{
"ari": "ari:cloud:graph::service/88b53f41-0fa3-4371-95f7-ef8e65910943/4f302e3a-b39c-11ee-8d82-0e3e7a21a911"
}
]
}
Removes affected services to a Jira Service Management Incident
read:incident:jira-service-management
write:incident:jira-service-management
integer
Requiredarray<AffectedServicesAri>
RequiredReturned if the request is successful.
1
2
3
4
5
6
7
8
9
10
11
curl --request POST \
--url 'https://api.atlassian.com/jsm/incidents/cloudId/{cloudId}/v1/incident/{issueID}/affected-service/remove' \
--header 'Authorization: Bearer <access_token>' \
--header 'Content-Type: application/json' \
--data '{
"affectedServices": [
{
"ari": "ari:cloud:graph::service/88b53f41-0fa3-4371-95f7-ef8e65910943/4f302e3a-b39c-11ee-8d82-0e3e7a21a911"
}
]
}'
Rate this page: