Connecting Bamboo to Jira for user management
You can connect Bamboo to an existing Atlassian JIRA Software instance to delegate Bamboo user and group management, and authentication. Bamboo provides a "read-only" connection to JIRA Software for user management. This means that users and groups, fetched from JIRA Software, can only be modified or updated in that JIRA Software server, rather than in Bamboo.
Choose this option, as an alternative to Atlassian Crowd, for simple configurations with a limited number of users. Note that Bamboo can only connect to an instance running JIRA Software 4.3 or later.
Connecting Bamboo and JIRA Software is a 3-step process:
1. Set up JIRA Software to allow connections from Bamboo
2. Set up Bamboo to connect to JIRA Software
3. Set up Bamboo users and groups in JIRA Software
Also on this page:
You need to be an administrator in JIRA Software and a system administrator in Bamboo to perform the following tasks.
1. Setup JIRA Software to allow connections from Bamboo
- Log in as a user with the 'JIRA Software Administrators' global permission.
- For JIRA 4.3.x, select Other Application from the 'Users, Groups & Roles' section of the 'Administration' menu.
For later versions, choose Administration > Users > JIRA User Server. - Click Add Application.
- Enter the application name (case-sensitive) and password that Bamboo will use when accessing JIRA Software.
- Enter the IP address of your Bamboo instance. Valid values are:
- A full IP address, e.g.
192.168.10.12
. - A wildcard IP range, using CIDR notation, e.g.
192.168.10.1/16
. For more information, see the introduction to CIDR notation on Wikipedia and RFC 4632.
- A full IP address, e.g.
- Click Save.
- Define the directory order, on the 'User Directories' screen, by clicking the blue up- and down-arrows next to each directory. The directory order has the following effects:
- The order of the directories is the order in which they will be searched for users and groups.
- Changes to users and groups will be made only in the first directory where the application has permission to make changes.
2. Setup Bamboo to connect to JIRA Software
- Log in to Bamboo as a user with 'Admin' permission.
- In the Bamboo administration area click User Directories (under 'Security').
- Click Add Directory and select Atlassian JIRA.
- Enter settings, as described below.
- Test and save the directory settings.
- Define the directory order, on the 'User Directories' screen, by clicking the arrows for each directory. The directory order has the following effects:
- The order of the directories is the order in which they will be searched for users and groups.
- Changes to users and groups will be made only in the first directory where the application has permission to make changes.
3. Set up Bamboo users and groups in JIRA Software
In order to use Bamboo, users must be a member of the Bamboo-users
group or have Bamboo global permissions. Follow these steps to configure your Bamboo groups in JIRA Software:
- Add the
bamboo-users
andbamboo-administrators
groups in JIRA Software. - Add your own username as a member of both of the above groups.
- Choose one of the following methods to give your existing JIRA Software users access to Bamboo:
- Option 1: In JIRA Software, find the groups that the relevant users belong to. Add those groups as members of one or both of the above Bamboo groups.
- Option 2: Log in to Bamboo using your JIRA Software account and go to the administration area. Click Global permissions (under 'Security'). Assign the appropriate permissions to the relevant JIRA Software groups.
Connecting Atlassian Bamboo to JIRA Software for user management is not sufficient, by itself, to allow your users to log in to Bamboo. You must also grant them access to Bamboo by using one of the above 2 options.
We recommend that you use groups instead of individual accounts when granting permissions.
Server settings
Setting | Description |
---|---|
Name | A meaningful name that will help you to identify this Jira server in the list of directory servers. Examples:
|
Server URL | The web address of your Jira server. Examples:
|
Application Name | The name used by your application when accessing the Jira server that acts as user manager. Note that you will also need to define your application to that Jira server, via the 'Other Applications' option in the 'Users, Groups & Roles' section of the 'Administration' menu. |
Application Password | The password used by your application when accessing the Jira server that acts as user manager. |
Advanced settings
Setting | Description |
---|---|
Enable Nested Groups | Enable or disable support for nested groups. Before enabling nested groups, please check to see if nested groups are enabled on the JIRA server that is acting as user manager. When nested groups are enabled, you can define a group as a member of another group. If you are using groups to manage permissions, you can create nested groups to allow inheritance of permissions from one group to its sub-groups. |
Enable Incremental Synchronization | Enable or disable incremental synchronization. Only changes since the last synchronization will be retrieved when synchronizing a directory. |
Synchronization Interval (minutes) | Synchronization is the process by which the application updates its internal store of user data to agree with the data on the directory server. The application will send a request to your directory server every x minutes, where 'x' is the number specified here. The default value is 60 minutes. |