• Products
  • Get started
  • Documentation
  • Resources

Integrate with LightStep

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.

Lightstep logo

What does the integration offer?

Use Jira Service Management's Lightstep Integration to forward Lightstep notifications to Jira Service Management. Jira Service Management determines the right people to notify based on on-call schedules– notifies via email, text messages (SMS), phone calls, iOS and Android push notifications, and escalates alerts until the alert is acknowledged or closed.

How does the integration work?

Lightstep sends JSON notifications when a Service-Level Alert (SLA) is violated or resolved, which creates an alert in Jira Service Management.

Set up the integration

Lightstep is an API integration. Setting it up involves the following steps:

  • Add a Lightstep integration in Jira Service Management

  • Configure the integration in Lightstep

Add a Lightstep integration

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 Lightstep integration in Jira Service Management, complete the following steps:

1. Go to your team’s operations page.

2. On the left navigation panel, select Integrations and then Add integration.

3. Run a search and select “ServiceNow Cloud Observability”.

4. For the integration variant, select “Lightstep”.

In case of unifled alerts, select the “ServiceNow Cloud Observability” integration variant. Find out how to integrate with ServiceNow Cloud Observability.

5. On the next screen, enter a name for the integration.

6. Optional: Select a team in Assignee team if you want a specific team to receive alerts from the integration.

7. Select Continue.
The integration is saved at this point.

8. Expand the Steps to configure the integration section and copy the API key.
You will use this key while configuring the integration in Lightstep later.

9. Select Turn on integration.
The rules you create for the integration will work only if you turn on the integration.

Configure the integration in Lightstep

To configure the integration of Lightstep with Jira Service Management, complete the following steps:

  1. In LightStep, go to Project Settings.

  2. Select Webhooks > [Create New].

  3. Paste the integration URL copied previously into URL.

  4. Select Save.

Sample webhook message from Lightstep

JSON

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 { "grouping-id":"21a2_1030_2020-11-06T17:53:01Z", "timestamp":"2020-11-06T17:53:01.434454188Z", "title":"Alert Triggered",, "project":{ "text": "demo", "href": "https://app.lightstep.com/demo" }, "saved-search":{ "text":"component:\"android\" operation:\"/api/make-payment\"", "href": "https://app.lightstep.com/demo/stream/VvF37s1J" }, "live-view":{ "text":"Go to Explorer", "href":"https://app.lightstep.com/demo/explorer?q=component%3A%22android%22+operation%3A%22%2Fapi%2Fmake-payment%22" }, "payloads":[ { "type":"condition-violated", "subtitle":{ "text":"lat(95) > 4s", "href":"https://app.lightstep.com/demo/stream/VvF37s1J?selected_condition_id=cBTPjq85" }, "exemplars":[ { "start":"2020-11-06T17:51:16.650381Z", "end":"2020-11-06T17:51:21.440972Z", "is-error":false, "href":"https://app.lightstep.com/demo/trace?at_micros=1604685081440972&selected_span_guid=6c9f6f0da1070105&trace_handle=CIWCnIja4dvPbBIGNDY4NzUxKAIyDAiUmpb9BRDIjZC2AjoOc3RyZWFtc190cmFjZXM%3D&utm_source=webhook" }, { "start":"2020-11-06T17:51:14.338421Z", "end":"2020-11-06T17:51:19.803192Z", "is-error":false, "href":"https://app.lightstep.com/demo/trace?at_micros=1604685079803192&selected_span_guid=5eb482849f71b789&trace_handle=CInvxvvJ0KDaXhIGNDY4NzUxKAIyDAiSmpb9BRCIyq-hAToOc3RyZWFtc190cmFjZXM%3D&utm_source=webhook" } ], "ls-info":{ "Actual Value":{ "ActualValue":"4.218855s" }, "Expression":"p95 is above 4.00s over the last 2.0m" }, "custom-data":{ } } ] }

 

Still need help?

The Atlassian Community is here for you.