This resource represents chat tools to a Jira Service Management Incident. Use this resource to create, remove and fetch chat channels to an Incident. See how to Connect Slack with Jira Service Management for details. One you've connected Slack, you can use this resource to create Slack channel to the Incident. Once a Slack channel has been created, you can perform several incident actions through that channel.
Returns all chat channels available to a Jira Service Management Incident.
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/incident/{issueID}/chat/channel' \
--header 'Authorization: Bearer <access_token>' \
--header 'Accept: application/json'
1
2
3
4
5
6
7
8
9
10
{
"channels": [
{
"active": true,
"connectionId": "e3cc821f-cd95-4cc7-a24f-fa855dd19677",
"channelType": "slack",
"name": "sip-0"
}
]
}
Create a new chat channel to a Jira Service Management Incident.
License required: Premium or Enterprise
read:incident:jira-service-management
write:incident:jira-service-management
integer
Requiredstring
Requiredstring
Requiredstring
Requiredstring
RequiredReturned if the request is successful.
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}/chat/channel/create' \
--header 'Authorization: Bearer <access_token>' \
--header 'Content-Type: application/json' \
--data '{
"connectionId": "e3cc821f-cd95-4cc7-a24f-fa855dd19677",
"channelType": "slack",
"channelName": "foo-channel-5",
"channelDescription": "good-channel"
}'
Unlinks the chat channel from the Jira Service Management Incident.
License required: Premium or Enterprise
read:incident:jira-service-management
write:incident:jira-service-management
integer
Requiredstring
Requiredstring
RequiredReturned if the request is successful.
1
2
3
4
5
6
7
8
curl --request DELETE \
--url 'https://api.atlassian.com/jsm/incidents/cloudId/{cloudId}/v1/incident/{issueID}/chat/channel/unlink' \
--header 'Authorization: Bearer <access_token>' \
--header 'Content-Type: application/json' \
--data '{
"connectionId": "e3cc821f-cd95-4cc7-a24f-fa855dd19677",
"channelType": "slack"
}'
Rate this page: