...
Table of Contents | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
Overview
Amazon SNS makes it simple and cost-effective to push notifications to Apple, Google, Fire OS, and Windows devices, as well as Android devices in China with Baidu Cloud Push.
What does the integration offer?
Jira Service Management acts as a dispatcher for Amazon SNS notifications, determines the right people to notify based on on-call schedules– notifies via them using email, text messages (SMS), phone calls, and iPhone & Android push notifications, and escalates alerts until the alert is acknowledged or closed.
How does the integration work?
When an alert is created in SNS, an alert is created in Jira Service Management automatically through the integration.
Set up the integration
Amazon SNS is an API-based integration. Setting it up involves the following steps:
Add an Amazon SNS integration in Jira Service Management
Set up a subscription in Amazon SNS
Add Amazon SNS integration
Info |
---|
If you're using the Free or Standard plan in Jira Service Management, you can only add this integration from your team’s operations page. To access the feature through Adding an integration from your team’s operations page makes your team the owner of the integration. This means Jira Service Management only assigns the alerts received through this integration to your team. |
To add an Amazon SNS integration in Jira Service Management:
Go to your team’s operations page.
On the left navigation panel, select Integrations and then Add integration.
Run a search and select “Amazon SNS”.
On the next screen, enter aname for the integration.
Optional: Select a team in Assignee team if you want a specific team to receive alerts from the integration.
Select Continue.
The integration is saved at this point.Expand the Steps to configure the integration section and copy the integration URL, which includes Jira Service Management’s endpoint and the API key.
You will use this URL while configuring the integration in Amazon SNS later.Select Turn on integration.
The rules you create for the integration will work only if you turn on the integration.
Set up a subscription in Amazon SNS
Create an SNS topic.
For details, see Getting started with Amazon SNS.Add an HTTPS subscription to your topic with the URL you copied while adding the integration in Jira Service Management as the endpoint. If the configuration is successful, a confirmation alert is created in Jira Service Management.
For details on how to add an HTTPS subscription, see Subscribing to an Amazon SNS topic - Amazon Simple Notification Service.Specify the alert's alias, entity, tags, recipients, teams, and custom actions using message attributes.
For details, see Amazon SNS message attributes.
Expand | ||
---|---|---|
| ||
|
All the fields in "MessageAttributes" are optional. To specify the action to run, send the "eventType" field. An alert is created if "eventType" is not specified. To run actions, specify "eventType" as follows:
create action >
"eventType" : {"Type":"String","Value":"create"}
close action >
"eventType" : {"Type":"String","Value":"close"}
acknowledge action >
"eventType" : {"Type":"String","Value":"acknowledge"}
add note action >
"eventType" : {"Type":"String","Value":"addNote"}
Sample payload sent from Amazon SNS
Expand | ||
---|---|---|
| ||
|
...