Jira is an issue and project tracking system for software teams. This integration allows you to create issues from triggered alerts in Datadog, and update existing issues with new information as it arises. Additionally, Jira issue creations are added as events within Datadog to overlay with your metrics.
Navigate to your Jira account.
Click the settings gear icon (upper right), then Products.
Under INTEGRATIONS in left side menu, select Application links.
Enter the URL https://app.datadoghq.com/ and click Create new link. Note: If you see the warning No response was received from the URL you entered, ignore this and click Continue.
After installing the Jira integration, create a custom issue within Datadog.
To begin, click the Add Issue button.
Enter a Project Key and Issue Type for your issue. Note: Each issue has a unique Project ID—Issue Type combination.
Optionally, add Datadog tags in the form of <KEY:VALUE>.
Optionally, the Assignee field can be made to automatically populate when the Jira issue is created by placing the Jira account ID of the user to be assigned the issue.
When the Required fields display for this issue, each of these fields must be filled out.
Other fields listed are optional.
Click the Save button.
Note: If you have the required field Severity (as shown above), Jira restricts the values allowed to:
1 - Critical
2 - Major
3 - Minor
Raw values and variables from the alert event can be used to fill in the issue fields. A full list of variables can be seen below:
ID of the event (ex: 1234567)
Title of the event (ex: [Triggered] [Memory Alert])
Text of the event (ex: @webhook-url Sending to the webhook)
Type of the event (ex: metric_alert_monitor)
Date when the event was last updated
Date (epoch) where the event happened (ex: 1406662672000)
ID to aggregate events belonging together (ex: 9bd4ac313a4d1e8fae2482df7b77628)
ID of your organization (ex: 11023)
Name of your organization (ex: Datadog)
User posting the event that triggered the webhook (ex: rudy)
Url of the image if the event contains a snapshot (ex: https://url.to.snpashot.com/)
Url of the event (ex: https://app.datadoghq.com/event/jump_to?event_id=123456)
Priority of the event (ex: normal)
Comma-separated list of the event tags (ex: monitor, name:myService, role:computing-node)
Text of the event without markdown formatting
ID of alert (ex: 1234)
Name of the metric if it’s an alert (ex: system.load.1)
Query of the monitor that triggered the webhook
Summary of the alert status (ex: system.load.1 over host:my-host was > 0 at least once during the last 1m)
Type of alert notification (ex: Triggered)
The hostname of the server associated with the event (if there is one).
ID to link events from the time an alert triggers until it resolves.
Logs sample from log monitor alerts.
Automatically create issues from Datadog alerts
To create Jira issues from within Datadog alerts, use the @jira-<PROJECT_NAME>-<ISSUE_TYPE> command within the “Say what’s happening” section of the new monitor creation process.
The first time an alert is triggered from the monitor, it creates a Jira ticket. If the same monitor alerts again it does not create another Jira ticket, but instead updates the existing ticket by adding a comment each time it alerts until the monitor goes into a recover state. After recovery, if the alert triggers again, it creates another Jira ticket.
The @jira-update command can be used to update existing issues. This command adds a comment to the Jira issue with the text followed by the @jira-update command.
Tip: You may find it helpful to use the @jira command within an #is_alert or #is_warning variable.
The Jira integration does not include any metrics.
All created Jira issues appear as events within Datadog.
The Jira integration does not include any service checks.