{jenkins-plugin-info:jira}

This plugin integrates Atlassian JIRA to Jenkins.

22 Dec 2010 Sources move to github : https://github.com/jenkinsci/jira-plugin

First, you need to go to Jenkins' system config screen to tell Jenkins where's your JIRA. This plugin has an optional feature to update JIRA issues with a back pointer to Jenkins build pages. This allows the submitter and watchers to quickly find out which build they need to pick up to get the fix. If you also want to use this feature, you need to supply a valid user id/password.If you need the comment only to be visible to a certain JIRA group, e.g. Software Development, enter the groupname. 

JIRA also needs to be configured for Jenkins to remotely login. Go to the general configuration screen and enable remote API calls. Again, this is only needed if you use the abovementioned optional feature, and if you forget to do so, Jenkins will nicely warn you.

With that, JIRA keys in changelogs are now hyperlinked to the corresponding JIRA pages (complete with tooltips!)

To have Jenkins update JIRA issues with back pointers to builds, you also need to configure jobs. I figured you might not always have write access to the JIRA (say you have a Jenkins build for one of the Apache commons project that you depend on), so that's why this is optional.

And the following screen shows how JIRA issue is updated.

By taking advantages of Jenkins' fingerprint feature, when your other projects that depend on this project picks up a build with a fix, those build numbers can be also recorded to JIRA. This is quite handy when a bug is fixed in one of the libraries, yet the submitter wants a fix in a different project. This happens often in my work, where a bug is reported against JAX-WS but the fix is in JAXB.
For curious mind, see this thread for how this works behind the scene.

Related Resources

History

Version 1.28 (Jun 15, 2011)
Version 1.27 (Feb 27, 2011)
Version 1.26 (Jan 14, 2011)
Version 1.25
Version 1.24
Version 1.23
Version 1.22
Version 1.21
Version 1.20
Version 1.19
Version 1.18
Version 1.17
Version 1.15 (2008/08/22)
Version 1.13 (2008/08/05)
Version 1.12
Version 1.11
Version 1.10
Version 1.9
Version 1.8
Version 1.7
Version 1.6
Version 1.5
Version 1.4