...
Use the X-Pack Alerting Integration to forward X-Pack Alerting alerts to Jira Service Management. Jira Service Management acts as a dispatcher for these alerts and determines the right people to notify based on on-call schedules– notifies via email, text messages (SMS), phone calls, and iPhone & Android push notifications, and escalates alerts until they are acknowledged or closed.
...
How does the integration work?
When an alert is fired by X-Pack Alerting, an alert is created in Jira Service Management automatically through the integration.
...
When the alert is acknowledged in Jira Service Management, the alert is acknowledged in X-Pack Alerting.
Set up the integration
X-Pack Alerting is a bidirectional integration. Setting it up involves the following steps:
Add an X-Pack Alerting integration
...
in Jira Service Management
Map alert actions
Configure the integration in X-Pack Alerting
Add X-Pack Alerting integration
Info |
---|
If you're using Opsgenie's using the Free or Essentials plan, or if you’re using Opsgenie with Standard plan in Jira Service Management's Standard plan, you can only add this integration from your team dashboard as the Integrations page under Settings is not available in your team’s operations page. To access the feature through Adding the an integration from your team dashboard will make team’s operations page makes your team the owner of the integration. This means Opsgenie will assign Jira Service Management only assigns the alerts received through this integration to your team only. To do that,
Follow the rest of the steps to complete the integration. |
To add an X-Pack Alerting 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 “X-Pack Alerting”.
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 API key.
You will use this key while configuring the integration in X-Pack Alerting later.Copy the code provided in the "Configure the integration in X-Pack Alerting" section of this article.
You will use this code while configuring the integration in X-Pack Alerting later.Select Turn on integration.
The rules you create for the integration will work only if you turn on the integration.
...
Paste the code you copied while adding the integration in Jira Service Management in Elasticsearch.
Configure alert settings in X-Pack Alerting.
For more information about X-Pack Alerting, refer to X-Pack Alerting Documentation.Paste the API key you copied while adding the integration in Jira Service Management into [YOUR API KEY].
Expand | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||
|
...
Acknowledge alerts in X-Pack Alerting
Set the integration to automatically acknowledge an alert in X-Pack Alerting
...
when the alert is acknowledged in Jira Service Management.
In order to do this, select "Acknowledge Alerts Select the Acknowledge alerts in X-Pack Alerting" option in integration settings.
Fill in the following two fields:
Fill "X-Pack AlertingAction ID" field with your Action ID.
Fill "Edit the integration settings and select Authenticate with an X-Pack Alerting account. Set the following values:
Enter the action ID into X-Pack Alerting Action Id.
Enter your X-Pack Alerting host URL into X-Pack Alerting Host URL" field with the URL address. Specify the full URL address as [protocol]://yourserveraddr:[port]. For example: http://yourserver.com:9200
checkbox in the Outgoing section of the integration configuration page.
Sample payload
Expand | ||
---|---|---|
| ||
|
...