This resource represents Linked alerts to a Jira Service Management Incident. Use this resource to helps you manage linked alerts to a Jira Service Management Incident. Use this resource to add, remove and fetch linked alerts to an Incident. See What are linked alerts? for details.
Returns linked alerts to a Jira Service Management Incident.
read:incident:jira-service-management
integer
Requiredinteger
Returned if the request is successful.
1
2
3
4
curl --request GET \
--url 'https://api.atlassian.com/jsm/incidents/cloudId/{cloudId}/v1/incident/{issueID}/alert' \
--header 'Authorization: Bearer <access_token>' \
--header 'Accept: application/json'
1
2
3
4
5
6
7
8
{
"values": {
"alertIds": [
"8dd24912-a0ad-41cd-ac80-535eaf649ed7"
]
},
"startKey": null
}
Removes linked alerts to a Jira Service Management Incident.
read:incident:jira-service-management
write:incident:jira-service-management
integer
Requiredarray<string>
Alert unlinking will be enqueued and performed asynchronously.
1
2
3
4
5
6
7
8
9
10
curl --request POST \
--url 'https://api.atlassian.com/jsm/incidents/cloudId/{cloudId}/v1/incident/{issueID}/alert/remove' \
--header 'Authorization: Bearer <access_token>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"alertIds": [
"8dd24912-a0ad-41cd-ac80-535eaf649ed7"
]
}'
1
2
3
4
{
"requestID": "dc84ac4e-c5dc-4330-a3e9-fca23326cdc9",
"message": "Linked alerts action will be performed"
}
Adds linked alerts to a Jira Service Management Incident.
read:incident:jira-service-management
write:incident:jira-service-management
integer
Requiredarray<string>
RequiredAlert linking will be enqueued and performed asynchronously.
1
2
3
4
5
6
7
8
9
10
curl --request POST \
--url 'https://api.atlassian.com/jsm/incidents/cloudId/{cloudId}/v1/incident/{issueID}/alert/add' \
--header 'Authorization: Bearer <access_token>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"alertIds": [
"8dd24912-a0ad-41cd-ac80-535eaf649ed7"
]
}'
1
2
3
4
{
"requestID": "dc84ac4e-c5dc-4330-a3e9-fca23326cdc9",
"message": "Linked alerts action will be performed"
}
Rate this page: