Get started with Jira Service Management for admins
Your first stop for learning how to get started with Jira Service Management.
This article highlights a new alerting feature that's natively available in Jira Service Management which is gradually rolling out to some Jira Service Management Cloud customers. It may not yet be visible or available on your site.
This article explains integrating Sumo Logic with both versions available in Jira Service Management's integration platform; Sumo Logic and Sumo Logic (Legacy). The procedural steps are the same for both integrations. However, refer to the correct integration version while working with the payloads.
Jira Service Management provides a two-way integration with Sumo Logic. When an action occurs in Jira Service Management alerts, the webhook data will be forwarded to the Sumo Logic. Also, Sumo Logic sends webhook alerts to Jira Service Management which 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 the alert is acknowledged or closed.
When a scheduled search or monitor triggers an alert in Sumo Logic, an alert will be created automatically in Jira Service Management.
When the monitor resolves an alert, the corresponding alert will be closed in Jira Service Management.
When an alert action occurs in Jira Service Management, the webhook payload will be sent to Sumo Logic.
Sumo Logic is an bidirectional integration. Setting it up involves the following steps:
Add a Sumo Logic integration in Jira Service Management
Configure the integration in Sumo Logic
Bidirectional integrations aren’t supported in Free and Standard plans. All the other integrations are supported at a team level in Free and Standard; however, for their outgoing part to work, you need to upgrade to a higher plan. To add any integration at a site level through Settings (gear icon) > Products (under JIRA SETTINGS) > OPERATIONS, you need to be either on Premium or Enterprise.
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 a Sumo Logic 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 “Sumo Logic”.
On the next screen, enter a name 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 generated for your account.
You will use this URL while configuring the integration in Sumo Logic later.
Select Turn on integration.
The rules you create for the integration will work only if you turn on the integration.
In Sumo Logic, scheduled searches and monitors send alerts to other tools via Webhook connections. To send alerts from Sumo Logic to Jira Service Management, create a Webhook first and use it in a scheduled search or monitor configuration.
In Sumo Logic, go to Manage Data > Monitoring > Connections.
Select + Add and select “Webhook” for Connection type.
Enter “Jira Service Management” for the name, and optionally, a description for the webhook connection.
Paste the API URL copied previously into URL.
Copy the payload JSON as appropriate from the following section and paste it into Payload.
Select Save.
JSON - For Sumo Logic
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
"AlertName": "{{AlertName}}",
"Description": "{{Description}}",
"action": "create",
"AlertURL": "{{AlertResponseURL}}",
"Query": "{{Query}}",
"QueryURL": "{{QueryURL}}",
"TriggerTime": "{{TriggerTime}}",
"TriggerTimeRange": "{{TriggerTimeRange}}",
"TriggerCondition": "{{TriggerCondition}}",
"TriggerValue": "{{TriggerValue}}",
"TriggerType": "{{TriggerType}}",
"ResultsJson": "{{ResultsJSON}}",
"DetectionMethod": "{{DetectionMethod}}",
"MonitorType": "{{MonitorType}}",
"NumQueryResults": "{{NumQueryResults}}",
"SourceURL": "{{SourceURL}}"
}
JSON - For Sumo Logic (Legacy)
1
2
3
4
5
6
7
8
9
10
11
12
{
"searchName": "{{SearchName}}",
"searchDescription": "{{SearchDescription}}",
"searchQuery": "{{SearchQuery}}",
"searchQueryUrl": "{{SearchQueryUrl}}",
"timeRange": "{{TimeRange}}",
"fireTime": "{{FireTime}}",
"rawResultsJson": "{{RawResultsJson}}",
"numRawResults": "{{NumRawResults}}",
"priority" : "P3",
"aggregateResultsJson" : "{{AggregateResultsJson}}"
}
JSON
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
"AlertName": "High CPU on public api service",
"Description": "CPU is above 80% all the time for 15 min on public api service",
"action": "create",
"AlertURL": "https://service.eu.sumologic.com/ui/#/alert/00000000000D0E85",
"Query": "metric=cpu_user service=api-service",
"QueryURL": "https://service.eu.sumologic.com/ui/#/metricsv2/cOS9vwBvqBtI76EDRQapYA3nP0NKFLBbFmrViiiM",
"TriggerTime": "2022-03-18 13:34:17 EET",
"TriggerTimeRange": "2022-03-18 13:28:45 EET - 2022-03-18 13:33:45 EET",
"TriggerCondition": "Metric field CPU violates the alert condition \"greater than 80.0 all the time in the last 15 minutes\"",
"TriggerValue": "85.4",
"TriggerType": "Critical",
"ResultsJson": "[{\"CPU\":85.4}]",
"DetectionMethod": "MetricsStaticCondition",
"MonitorType": "Metrics",
"NumQueryResults": "1",
"SourceURL": "https://service.eu.sumologic.com/ui/#/alerts/unified-monitors/000000000000676A?selectedRows=00000000000123BD"
}
Was this helpful?