• Products
  • Get started
  • Documentation
  • Resources

Integrate with Kapacitor

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.

Kapacitor Logo

What does the integration offer?

Use Jira Service Management Kapacitor integration to send Kapacitor events to Jira Service Management with detailed information. Jira Service Management acts as a dispatcher for Kapacitor events, determines the right people to notify based on on-call schedules– notifies via email, text messages (SMS), phone calls, and iOS & Android push notifications, and escalating alerts until the alert is acknowledged or closed.

How does the integration work?

When an event is created on Kapacitor, an alert is created in Jira Service Management automatically through the integration.

Set up the integration

Kapacitor is an API-based integration. Setting it up involves the following steps:

  • Add a Kapacitor integration in Jira Service Management

  • Configure the integration in Kapacitor

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

  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 integration URL that contains both the API key and API URL.
    You will use them while configuring the integration in Kapacitor 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 Kapacitor

To configure the integration in Kapacitor, complete the following steps:

  1. In the "kapacitor.conf" file, find the configuration of Opsgenie v2 event handler.

  2. Paste the "API Key" copied previously to the "api-key" section and paste the "API URL" to the "url" section.

  3. With the Opsgenie v2 event handler enabled and configured in the kapacitor.conf file, use the .opsgenie2() attribute in your TICKscripts to send alerts to Jira Service Management or define an Opsgenie v2 handler that subscribes to a topic and sends published alerts to Jira Service Management.

Read more about Opsgenie v2 event handler.


Still need help?

The Atlassian Community is here for you.