• Products
  • Get started
  • Documentation
  • Resources

Integrate with StackStorm

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.

StackStorm logo

What does the integration offer?

Use Jira Service Management's pack in StackStorm to perform most API actions used in Jira Service Management. Automate systems easily by using StackStorm's other abilities, like triggering a rule. Jira Service Management determines the right people to notify based on on-call schedules– using email, text messages (SMS), phone calls and iOS & Android push notifications, and escalates alerts until the alert is acknowledged or closed.

How does the integration work?

Use defined actions of Alert API, Heartbeat API, Integration API, Policy API, User API, Team API, WhoIsOnCall API, and more in StackStorm, then see the results on the Jira Service Management side.

Set up the integration

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

  • Add a StackStorm integration in Jira Service Management

  • Configure the integration in StackStorm

Add a StackStorm 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 StackStorm 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 “StackStorm”.

  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 StackStorm 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 StackStorm

Use the StackStorm administrative web UI to install and configure the integration.

  1. Create a configuration file named opsgenie.yaml at the following location: /opt/stackstorm/configs in the following format:

    1 2 --- api_key: "XXXXXXXXXXXXXXX"
  2. Paste the API key copied previously into api_key.

  3. Copy the opsgenie.yaml file into /opt/stackstorm/configs.

  4. While updating the configuration in /opt/stackstorm/configs, remember to also configure StackStorm to load these new values by running the st2ctl reload --register-configs command.

  5. Check if the configuration file is set up properly.

  6. Navigate to Packs, search for Opsgenie, and select Install.

  7. To test the integration, navigate to the Actions tab and select an action to run. Review the results of the execution in the History tab.

Read more about StackStorm’s pack configuration.


Still need help?

The Atlassian Community is here for you.