• Products
  • Get started
  • Documentation
  • Resources

Integrate with Scalyr

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.

Scalyr logo

What does the integration offer?

Jira Service Management has a specific API integration with Scalyr. Scalyr sends alert notification messages to Jira Service Management API, with detailed information. Jira Service Management acts as a dispatcher for Scalyr alerts, 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.

How does the integration work?

  • When an alert is created in Scalyr, an alert is created in Jira Service Management.

  • When an alert is closed in the Scalyr, the alert is closed in Jira Service Management.

Set up the integration

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

  • Add a Scalyr integration in Jira Service Management

  • Configure the integration in Scalyr

Add a Scalyr integration

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 Settings (gear icon) > Products (under JIRA SETTINGS) > OPERATIONS, you need to be on Premium or Enterprise plan.

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 Scalyr 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 “Scalyr”.

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

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

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

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

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

Configure the integration in Scalyr

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

  1. In Scalyr, go to the Alerts page and select Edit Alerts.

  2. Enter the alertAddress in the following form:
    opsgenie:API_KEY, where API_KEY is the API key you previously copied from Jira Service Management.

  3. Save the configuration file.

Read more about Scalyr’s alerting.

Sample payload sent from Scalyr

JSON

1 2 3 4 5 6 7 8 { "trigger": "count:1m(error) < 100", "description": "error occurred", "title": "Test Alert", "link": "https://www.scalyr.com/alert?id=4VcQmTj8iqvXp4p2", "id": "scalyr-alert-4VcQmTj8iqvXp4p2", "action": "create" }

Additional Help