For AI agents: A markdown version of this page is available at https://docs.datadoghq.com/integrations/jira.md. A documentation index is available at /llms.txt.

Jira

To find out if this integration is available in your organization, see your Datadog Integrations page or ask your organization administrator.

To initiate an exception request to enable this integration for your organization, email support@ddog-gov.com.

Overview

Atlassian Jira is a project management and issue tracking tool for teams to coordinate work and handle tasks efficiently.

Integrate with Jira or Jira Service Management to:

  • Create and update issues using @jira mentions in monitor notifications
  • Receive a Datadog event each time a new Jira issue is opened
  • Manually create new Jira issues
  • Link new or existing Jira issues to a Datadog incident or case
  • Automate Jira issue creation and send incident attributes to Jira attributes
  • Automate Jira issue creation and sync case and Jira attributes

Setup

Datadog highly recommends having a dedicated (non-personal) Jira service account specifically for this integration for optimal and more consistent results.

Jira Cloud instructions

OAuth 2.0 setup instructions

  1. Navigate to the Datadog Jira integration tile and click Add Account > OAuth 2.0 Account.
  2. Enter the URL of your Jira instance.
  3. Click Authenticate with Atlassian and follow the instructions on the Atlassian authorization page. If there is a dropdown to select which Atlassian account instance, make sure to select the same one you just entered into Datadog.
  4. Click Accept on the Atlassian authorization page. You are redirected back to the Jira tile, with the new account in “Pending” status.
  5. The account moves to “Active” status once Datadog has verified that the account is valid and ready for use.

Legacy OAuth 1.0 setup instructions

  1. Navigate to Jira.

  2. Click the Gear icon in the right corner and select Jira Apps.

  3. In the left menu under Integrations, click Application links, and then click Create link.

  4. Select the Direct application link checkbox, enter the URL https:// and click Continue.

  5. Ignore the warning “No response was received from the URL you entered” and click Continue.

  6. Fill in the form as follows and click Continue.

    FieldInput
    Application Name{Enter a name (e.g. Datadog)}
    Application TypeGeneric Application
    Service Provider Name{leave blank}
    Consumer key{leave blank}
    Shared secret{leave blank}
    Request Token URL{leave blank}
    Access token URL{leave blank}
    Authorize URL{leave blank}
    Create incoming linkCheck the box
  7. Fill in the next form as follows and click Continue. To find the public key in the Datadog Jira integration tile, click Add Account.

    FieldInput
    Consumer Key{Enter a key name (e.g. datadog)}
    Consumer NameDatadog
    Public Key{Enter the public key from Datadog Jira integration tile}
Connect Datadog

After creating the application link, connect Datadog to your Jira instance:

  1. Navigate to the Datadog Jira integration tile and click Add Account > Legacy OAuth 1.0 Account.
  2. Enter the URL of your Jira instance and the consumer key of the application link you previously created.
  3. Click Connect and follow the instructions on the Jira authorization page. Be sure to log into this account before hitting Connect.
Migrate tool for legacy OAuth 1.0 accounts

In the Jira Accounts Table, Legacy OAuth 1.0 accounts that are eligible for migration to OAuth 2.0 have a “Migrate to OAuth 2.0” arrow button. Click this button and then click Authenticate with Atlassian to start the OAuth 2.0 flow. Note: You cannot undo this action, so make sure to select the correct Atlassian account when authenticating.

Jira Data Center instructions

Jira Data Center's current OAuth 1.0a implementation is not FIPS 140-2 compliant. customers should be aware of this limitation when considering the integration for FedRAMP environments.

Legacy OAuth 1.0 setup instructions

  1. Navigate to Jira.
  2. Click the Gear icon in the right corner and select Applications.
  3. In the left menu under Integrations, click Application links, and then click Create link.
  4. In the Create link dialog, select Atlassian product and provide the Application URL as https://. Click Continue.
  5. Ignore the warning “No response was received from the URL you entered” and click Continue.
  6. Fill in the form using the same parameters as shown in the Jira Cloud instructions above.
Connect Datadog

After creating the application link, follow the same Datadog connection steps as Jira Cloud Legacy OAuth 1.0 above.

Note: Many Jira Data Center instances blocklist IP ranges. For the integration to work, follow the IP filtering documentation below.

IP filtering

If your Jira instance filters traffic by IP address, you need to allow connections from the Webhooks IP prefixes belonging to Datadog in order for the integration to work. For a list of Webhooks IP prefixes for your region, see Datadog IP Ranges.

Multiple Datadog accounts using the same Jira instance

Refer to the following instructions if you have multiple Datadog accounts that need to connect to the same Jira instance.

OAuth 2.0 setup

You need a unique admin Atlassian account per Datadog account. When authorizing the connection between Jira and Datadog, make sure to log into the correct Atlassian account that corresponds to the Datadog account you are connecting. This is required to keep authorized user accounts separate in Jira for each Datadog account.

Legacy OAuth 1.0 setup

You must set up multiple application links in Jira and connect each Datadog account to a different application link using a unique consumer key.

Further configuration

To configure automated Jira issue creation with bidirectional syncing in Case Management, see the instructions for Configuring a Jira webhook and the Case Management documentation.

To create Jira issues from Datadog monitor alerts, see Configure an issue template.

Configure a Jira webhook

Configuring a webhook enables cases created in Case Management to automatically create issues in Jira and keep both resources synced.

To create a Jira webhook:

  1. In Jira, click the Gear icon in the top right corner and select System.
  2. In the left menu under Advanced, click Webhooks.
  3. Click Create a Webhook in the right corner.
  4. Enter Datadog Webhook as the webhook name.
  5. Keep the status as Enabled.
  6. Navigate to the Datadog Jira integration tile.
  7. Under the Case Management tab, copy the webhook URL.
  8. Navigate back to Jira and paste the webhook URL under URL.
  9. Enable the following issue-related events. If you only want to send a subset of issue events, you can use JQL to filter them. In this example we are filtering only for projects AB and CD. Jira Issue Events
  10. Enable the deleted project-related events.
  11. Leave everything else unchecked.
  12. Click the Create button at the bottom of the page.

Configure an issue template

Issue templates define how issues are created in Jira from Datadog alert events.

To create an issue template:

  1. In Datadog, click New Issue Template in the Connect Jira to Monitor Notifications section.
  2. Enter a name for your issue template. This name, prefixed with jira-, becomes the handle you can use in your monitor to send notifications to (such as jira-my-issue-template-name).
  3. Select a Jira account.
  4. Select the project and issue type (such as Story, Epic, Task, or Bug).
  5. A list of configurable fields appears. Enter values in the desired fields and click Save.

Configure issue fields

Issue template fields define the data that is included when creating issues in Jira. For example, you can configure your template to create issues with a specific priority or a default assignee.

You can use data from the alert event to populate values in the issue fields using template variables such as ${EVENT_TITLE}. For a list of possible variables, see the Datadog Webhooks integration.

Usage

Automatically create issues from Datadog alerts

To create Jira issues from Datadog alert events, enter the notification handle of one or more issue templates such as @jira-my-issue-template when creating a monitor in the Notify your team or Say what’s happening sections.

Issues are created when the monitor triggers. New issues are not created by the monitor until the monitor is resolved.

Data Collected

Metrics

The Jira integration does not include any metrics.

Events

All created Jira issues appear as events within Datadog.

Service Checks

The Jira integration does not include any service checks.

Troubleshooting

Need help? Contact Datadog support.