The Blameless platform integrates with JIRA to allow you to:
- Automatically Create a Jira ticket when a Blameless incident is created
- The Jira ticket can be updated with comments when the incident statuses are changed by configuring a webhook in your Jira instance
- Create follow up actions as Jira tickets in a Blameless incident and postmortem
You may only have one ticketing integration enabled at a time.
Before you start, it's best to assemble all of the values that you will need to proceed with the integration:
- JIRA Account User name
- This must be the username for the JIRA account to be used.
- JIRA Password / API Token
- A Password is used with JIRA Server (on-premise)
- A JIRA API Token is used with the JIRA Cloud -- refer to Creating a JIRA API Token
- JIRA instance base URL
- The URL of your JIRA API endpoint.
- The default project key for Incident ticket
- This is the project that JIRA tickets will get created in automatically when a Blameless incident is created.
- Default issue type for JIRA tickets
- This is the type of issue (bug, task, story, etc.) that gets created whenever a JIRA ticket is created.
- Follow-up Action JIRA ticket default issue type
- This is the type of issue (bug, task, story, etc.) that gets created whenever a JIRA follow up action is created.
- Incident/Follow-up JIRA Ticket Link Type
- This is the default linking between incident JIRA tickets and follow up JIRA tickets
- You will also need to obtain a set of Blameless IP addresses to whitelist if you are using the JIRA Server instance or are going through a firewall. Please contact a member of the Blameless team to obtain these IP addresses.
Do not attempt to use an API Token that is generated from any other account than the one used to create the integration, including that of the JIRA Admin.
Setup the JIRA Integration
- Launch Blameless.
- Select Settings from the left navigation menu, select Integrations > Ticketing > JIRA
- Add the above elements into the respective fields of the JIRA Integration window.
- Save the updates.
Date fields configured for tickets related to Blameless need to be formatted as "yyyy-mm-dd".
Notification from Atlassian to Atlassian Cloud Users:
"...As of June 2019, Atlassian Cloud users who are using a REST endpoint in Jira or Confluence Cloud with basic or cookie-based authentication will need to update their app or integration processes to use an API token, OAuth, or Atlassian Connect..."
Customers, who are not already using an API token, will need to update their JIRA integration settings to use an API token instead of basic user/password authentication.
If adding the token, updating requires:
- Create an API token from your Atlassian account. The Token MUST come from the account used to enable the Integration.
- Update the Blameless Settings in the Jira Integration pane within the Blameless UI.
Creating a JIRA API Token
- Log into the following: https://id.atlassian.com/manage-profile/security/api-tokens
- Follow the instructions from the link to create the API token.
Optional: JIRA Webhooks
Access to the JIRA Webhook settings requires administrator rights.
- Go to any JIRA project and click on Settings.
- Select System Settings and scroll to the bottom of the Settings list and locate the Advanced option and select Webhooks.
- Click on Create a Webhook.
- Enter a recognizable name for the webhook and copy and paste the resulting JIRA Webhook URL from the Blameless JIRA Integration pane into the JIRA Web hooks Settings field.
- Please select the
Issue deletedevents to trigger the webhook callback.
Testing the Integration
- From the Blameless UI, go to Settings > Integrations > Ticketing > JIRA.
- Scroll down and select the
Default project key for incident ticketdropdown.
- If you see the list of projects in the dropdown, the integration was successful.