Integrating Bamboo with Jira Software

Integrating Bamboo with Atlassian's Jira applications combines Bamboo's continuous integration capabilities with your issue tracker to give you a unified view of your software development project.

Configuring Bamboo and Jira applications to work together simply requires you to set up an application link (two-way) between a Jira application and Bamboo.

Note that application links have nothing to do with using a Jira application as a user directory for Bamboo; these 2 configurations can exist separately. See also Linking to another application.

On this page:

Benefits

See Viewing Bamboo activity in a Jira application for a full description of the benefits of integrating Jira applications with Bamboo.

Briefly, these are:

Integration featureDescription

Compatibility

JiraBamboo
Development info in issue searchSee Jira 7.7 release notes7.7 +5.4 +
Development panelSee Bamboo development activity6.2 +5.4 +
Build result dialogView detailed Bamboo build result information  6.2 +5.4 +
Deployment dialogView detailed Bamboo deployment information  6.2 +5.4 +
Run Bamboo builds

Run a Bamboo build when releasing a Jira application version

4.4 +3.0 +
Linked plan branches

Have Bamboo automatically link a plan branch with an issue

4.4 +3.0 +
Jira issues view

View the issues linked to a build result

4.4 +3.0 +
Jira Projects

View the Bamboo builds that relate to a Jira application project or version

4.4 +3.0 +


If you are using an earlier version of Bamboo and/or a Jira application, you can also download an older version of the Jira Bamboo plugin from the Atlassian Plugin Exchange. However, we strongly advise you to upgrade Jira to version 6.2 or later and Bamboo to version 5.4 or later, to get the most out of Bamboo - Jira applications integration.

Requirements

RequirementDescription

Jira 6.2+

Earlier versions of Jira do not support the Development panel feature.
Bamboo 5.4+
Jira/Bamboo Applink

See below for details about application links.

Permissions

Users will require the View development tools permission in Jira applications.

Issue keyThe issue key must be included in the commit message, and must use the default issue key format.

Configuration

Integration of Bamboo and a Jira application requires an application link between them. The application link needs both 2-legged (2LO) and 3-legged OAuth (3LO) authentication:

  • 2LO is required for information from Bamboo to be included in the summaries in the Development panel.
  • 3LO checks that a user has authenticated with Bamboo before they get to see the information in any of the details dialogs. Users who can see summarized data in the Development panel may not have permission to see all the information that contributed to those summaries and which is visible in the details dialogs. That is, the details dialogs respect the access permissions that users have in the connected Bamboo server.

When you create a new link between a Jira application and Bamboo, both 2-legged (2LO) and 3-legged OAuth (3LO) are enabled by default. 

  • You will need to set up a two-way link. That is, select the Create a link back to this server option when adding the application link.

An existing application link between Jira and Bamboo may need to have 2LO authentication explicitly enabled.

Click here to see how to enable 2-legged OAuth...

An existing application link between a Jira application and Bamboo (that perhaps used Trusted Apps authentication) needs to have 2-legged authentication (2LO) enabled for both outgoing and incoming authentication, so that information from the application can be included in the Development panel summaries.

When updating an older application link to use OAuth, 3-legged authentication is applied by default, but you need to explicitly enable 2LO. Enable 2-legged authentication for the application link from within Jira as follows:

  1. Go to the Jira admin area and select Applications > Application Links
  2. Select Edit for the app link with the other application.
  3. For both Outgoing Authentication and Incoming Authentication:
    1. Select OAuth
    2. Check Allow 2-legged OAuth.
    3. Select Update.

The application link update process will involve logging you into the other application for a short time to configure that end of the link, before returning you to Jira application.

Note that:

  • Application links must have Trusted Applications and Basic Access authentication disabled. The Development panel in Jira only supports OAuth authentication.
  • You will need to configure 2-legged OAuth enabled for both incoming and outgoing authentication in both Jira application and Bamboo for your application link. 
  • See Configuring authentication for an application link for more information.
  • If you are running Bamboo behind a proxy, you may need to configure the AJP connector.

Notes

Known issues

  • Jira applications and Bamboo cannot run in the same Tomcat instance due to a known issue with the Bamboo plugin for Jira applications (see JRA-19662). 
  • When integrating Bamboo with a Jira application, you should not change the Jira application project key format from the default, as Bamboo only supports the default project key format.

If you need further help, please raise a support request in our support system, in the Bamboo project. You may also want to view articles in the Bamboo Knowledge Base and browse our forums.


Last modified on Jan 19, 2024

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.