Jenkins Integration for Jira


This project finds its roots in the JIRA Hudson Integration project. That project was plagued by issues effecting large to very large deployments of, at the time, Hudson and now Jenkins. That implementation took a real time approach to showing build data in Jira. However, the larges a Jenkins instance became, the slower the integration became to the point where both Jira and Jenkins would stop performing.

The new implementation is taking a caching approach to showing build data in Jira, this approach greatly simplifies the Jenkins add-on and improves the performance impact of running the integration on both Jira and Jenkins.

Lite vs Full

Version 4.0.0 introduces a new flavour of the add-on, namely Jenkins Integration for Jira - Lite, this new lite version is functionally the same as the existing server version of the add-on but with some key differences.

Jenkins Integration for JiraJenkins Integration for Jira - Lite
Paid vs FreePaidFree
SupportSLA based supportBest effort support
Jira Server(tick)(tick)
Jira Data Center(tick)(error)
Jira Cloud(tick)(error)

The new lite version of the add-on was introduces to make it easier for users to get a SLA based support subscription on the Server version of the add-on while at the same time keeping it available for those that don't want/need SLA based support. It also makes it possible to add paid extensions to the integration add-on that would require a support subscription on the main 'Jenkins Integration for Jira' add-on.

Refer to the Switch between Lite and Full version of the Add-on guide on how easy it is to switch between full and lite.

Getting Started

Getting started is easy, its a simple 4 step process that is highlighted in the Quick Start Guide.

TL;DR: 1 install Jira add-on, 2 install Jenkins add-on, 3 Configure Jenkins Site in Jira, 4 Enjoin Insight.

Jenkins builds are linked to Jira issues if an issue key of an existing Jira issue can be found in the job and build data that was synchronzied.

The following elements are inspected to extract Jira issue keys:

  • Job display name
  • Job description
  • Job url
  • Build display name
  • Build description
  • Build trigger cause
  • Change-set commit messages

Any potential issue key located will be verified to exist, and a link between the build is issue is only created if the issue exists in Jira.

It is important to note that the issue keys in the commit message must follow the rules set by Atlassian on the format of Project Keys and therefor Issue Keys. Details on the format rules can be found in there documentation Changing the project key format.

Features included in the Jira add-on

All Jira features are limited to Software Projects.

Features included in the Jenkins add-on