JIRA

Learn how to setup a Bugsnag integration with JIRA.

The JIRA integration allows an issue to be created in JIRA for errors that are reported to Bugsnag.

Configuration

Set up the JIRA integration by selecting it from the Available integrations section of the settings (Project Settings -> Configure Integrations -> Available Integrations).

The integration requires a JIRA instance URL, project prefix key, username and password.

Configuration

Creating issues

An issue can be created automatically when a new error occurs by enabling it in the Automation section of the settings (Project Settings -> Configure Integrations -> JIRA -> Automation)

Auto create issue

or manually by clicking on the ! icon on the Bugsnag dashboard.

Create new issue

To link an error to an existing issue, select Link to an existing JIRA issue and enter the issue’s URL.

Link to existing issue

Once an error has been linked to an issue, we will add a note to the issue when the error changes between open and fixed, and when a user adds a comment to the error.

Two-way sync

The JIRA integration has two way sync capabilities which means that errors in Bugsnag can be kept in sync with the linked issue in JIRA.

To enable two-way sync select the following options in the Automation section of the settings (Project Settings -> Configure Integrations -> JIRA -> Automation):

Sync settings

The first two settings define the state that the linked JIRA issue should be transitioned to when an error in Bugsnag is marked as fixed or when it is reopened.

The last two settings define the behavior when a JIRA issue transitions to or away from certain states. With the default configuration a linked Bugsnag error will be marked as fixed when the JIRA issue is transitioned to either Closed or Resolved. Correspondingly when a JIRA issue is transitioned away from Closed or Resolved to any other state, the linked Bugsnag error will be reopened. As JIRA workflow states are entirely configurable, any state names can be entered and separated by commas.

Access permissions

The user credentials must have the following permissions:

  • Project permissions:
    • Create Issue
    • Edit Issue
    • Add Comments
  • ‘JIRA Administrators’ global permission (for two-way sync)

Access through firewall

If your server policy denies access to external IP addresses and websites, you will need to whitelist the IP addresses below. A whitelist provides access to designated IP addresses and sites that would otherwise be prevented by your security policy.

  • 104.196.245.109
  • 104.196.254.247