|docs
Start Trial

Integrations

Jira Server v3 Integration Guide

Configure the legacy Jira Server v3 integration — authentication token setup, plugin installation, and project connection.

View as Markdown

Jira Server v3 + PagerDuty Benefits

  • Bidirectionally sync issues between Atlassian Jira Software and PagerDuty.
  • Incidents triggered in PagerDuty can automatically open an issue in Jira and populate both custom and out-of-box issue fields.
  • Issues in Jira can also trigger a PagerDuty incident, helping your team stay on top of time-sensitive issues.
  • Sync incident priority, incident notes, and state mapping.
  • This integration also supports Jira Service Management.

Requirements

In PagerDuty: You need a Global Admin or Account Owner user role to create the Jira authentication token.

In Jira: You need to be able to perform the following actions:

  • Create, update, and comment on issues
  • Run JQL searches
  • Read Projects
  • Read Settings (for example, globally configured Priorities)

How It Works

  • Based on predefined rules set in Jira, when a PagerDuty incident performs a condition's action, it sends a webhook to Jira where it can create or update an issue.
  • When a Jira issue performs a predefined condition's action, it sends a webhook to PagerDuty where it can create or update an incident.

Version

This integration is for the self-hosted Jira Server 7.2.0–8.x.x, which can be downloaded from the Atlassian Marketplace. If you use Jira Cloud, see the Jira Cloud integration guide.

Looking for a Different Version?

To upgrade to the latest version of the integration (v4), see our Jira Server integration guide.

Integration Walkthrough

In PagerDuty

In PagerDuty, you add the Jira Server extension and create a unique authentication token for use in the next section.

  1. In the web app, navigate to Integrations Extensions and click New Extension.
  2. From the dropdown select Jira Server. A screen appears prompting you to open the Jira Server Extension page; click Open.
  3. Under Please ensure you use Jira add-on version at least 4.2.0, click here to expand the configuration options.

Jira Server extension page with the configuration options section expanded Expand configurations options

  1. Copy the authentication token to your clipboard, which you use later in this guide.

Expanded configuration options showing the authentication token field to copy Jira Server authentication token

  1. Log in to your Jira Server application.
    • Note: You need to paste the authentication token into the PagerDuty add-on in Jira before you can connect PagerDuty to Jira Server.

In Jira

In Jira, you download the PagerDuty for Jira Server & Data Center plugin and add the PagerDuty authentication token you copied in the previous section.

  1. From the Jira Administration menu in the top right corner, click Add-ons.

Select "Add-ons" Select Add-ons

  1. Click the Add-ons tab, then click Find new add-ons in the Atlassian Marketplace. Search for PagerDuty for Jira Server and click the Install button.

Atlassian Marketplace search results for PagerDuty for Jira Server with an Install button PagerDuty add-on in Jira

  1. After returning to the Manage Add On page, select PagerDuty add-on, and click Configure.

Manage Add-Ons page with the PagerDuty add-on selected and a Configure button Install PagerDuty add-on

  1. Add the Authentication Token you copied from the PagerDuty extension configuration and click Save.
  2. Ensure a user account with the name PagerDuty was created in Jira, with write access to applicable issues and projects. You can check out the minimum required project roles in our FAQ.

In PagerDuty

The last step is to connect PagerDuty to Jira and configure the mapping between a PagerDuty Service and a Jira project.

  1. Enter your Jira Server URL and click Connect Jira Server.

PagerDuty Jira Server extension page with a URL field and Connect Jira Server button Enter Jira Server URL

  1. If the connection was successful, you should be able to select a PagerDuty service and corresponding Jira project. After selecting both, click Connect Jira Project.

Dropdowns to select a PagerDuty service and matching Jira project with a Connect Jira Project button Connect Jira project

  1. After connecting, you are taken to a configuration page where you can:
  • Select a Configuration Name. We recommend using the name of the Jira project. For example: "Create Bug (Project Name)".
  • Choose a Jira Issue Type.
  • Choose an option for Create Issues Mode:
    • Manually: Must click the Configuration Name under the More Actions button on an incident details page.
    • Automatically: PagerDuty automatically creates Issues in Jira.
  • Create a Jira Query Language (JQL) statement which can automatically create PagerDuty incidents if a Jira issue matches the JQL. Note: The issue must be in the same Jira project and be the same Jira Issue type. If you are using Jira Service Management, incidents are created from JQL before automation rules are applied.
  • Map the status of PagerDuty incidents to the status of Jira Issues.
  • Optionally, sync notes between PagerDuty and Jira. Note: This option requires you to select a user, and each note appears as coming from this user.
  • Optionally, sync PagerDuty incident priority levels with Jira priority levels.
  • Optionally, sync custom fields between a PagerDuty Attribute and Jira Issue Field Name.

Configuration page with fields for Configuration Name, Jira Issue Type, Create Issues Mode, and status mapping Configure the integration

  1. Click Create Test Issue to test the connection between PagerDuty and your Jira Server. You should see a success message at the top of the modal and the new ticket is visible in Jira.
  2. Click Save, and you are done 🎉.

Jira Service Management Required Steps

If you are integrating PagerDuty with Jira Service Management, the PagerDuty user account needs the necessary permissions in Jira.

  1. Add the jira-servicedesk-users group to the PagerDuty user account.
  2. For each of your Service Desk projects, ensure that the PagerDuty user account has Service Desk Team access:
    • From the Jira Administration menu in the top right corner, click Projects.
    • Select your Jira Service Management project.
    • Click the Users and roles tab under the Project settings navigation bar.
    • Select the Add users to a role button.
    • Add the jira-servicedesk-users group or PagerDuty user to the Service Desk Team role.

Users and roles tab in Jira project settings with the Add users to a role button Configure Jira Service Management

You can learn more about managing users and roles on the Atlassian website.

FAQ