JIRA is Atlassian's issue tracking and project management application. This page describes how to integrate JIRA with Crucible.
When Crucible was first installed, JIRA integration may have been configured using the setup wizard, which configures the JIRA connection automatically using the most common options. See Configuring JIRA integration in the Setup Wizard.
However, JIRA integration with Crucible can be configured at any time after installation, as described on this page.
Initial configuration in JIRA
Configure the following setting in JIRA:
Consider also the following settings, to make full use of the integration between Crucible and JIRA:
JIRA integration in Crucible
You can further configure the JIRA connections using the Crucible administration screens. There are two parts to the integration process:
- A peer-to-peer link between JIRA and Crucible for sharing information and facilitating integration features. This link is set up using Application Links.
- A client-server link between Crucible and JIRA for delegating user and group management to your JIRA server.
1. Configuring an application link with JIRA
This section describes how to create a two-way trusted applications link between Crucible and JIRA. We assume that your Crucible and JIRA servers are using the same set of users. If not, please refer to Adding an application link for information about the various options available.
To add a two-way trusted applications link between Crucible and JIRA:
- Go to your Crucible administration screen and click Application Links (under 'Global Settings').
- Click Add Application Link. Step 1 of the link wizard will appear.
- Enter the server URL of the application that you want to link to (the 'remote application').
- Click Next.
- Enter the following information:
- Create a link back to this server – Check to add a two-way link between the two applications.
- Username and Password – Enter the credentials for a username that has administrator access to the remote application.
Note: These credentials are only used to authenticate you to the remote application, so that Application Links can make the changes required for the new link. The credentials are not saved.
- Reciprocal Link URL – The URL you give here will override the base URL specified in your remote application's administration console, for the purposes of the application links connection. Application Links will use this URL to access the remote application.
- Click Next.
- Enter the information required to configure authentication for your application link:
- The servers have the same set of users – Check this box, because the users are the same in both applications.
- These servers fully trust each other – Check this box, because you trust the code in both applications and are sure both applications will maintain the security of their private keys.
For more information about configuring authentication, see Configuring authentication for an application link.
- Click Create.
2. Connecting to JIRA for user management
This option is available only with JIRA 4.3 and later.
To manage your Crucible users using JIRA, configure a connection in JIRA and then set up the user directory in Crucible. Both steps are described below.
2.1. To configure a new connection for user management in JIRA:
- Log in to JIRA as a user with the 'JIRA System Administrators' global permission.
- Click Administration on the JIRA top navigation bar.
- Go to the JIRA administration screen for configuring the applications that have been set up to use JIRA for user management:
- In JIRA 4.3: Click 'Other Applications' in the 'Users, Groups & Roles' section of the JIRA administration screen.
- In JIRA 4.4: Select 'Administration' > 'Users' > 'JIRA User Server'.
- Add an application.
- Enter the application name and password that your application will use when accessing JIRA.
- Enter the IP address or addresses of your application. Valid values are:
- A full IP address, e.g.
- 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.
- Save the new application.
2.2. To set up the JIRA user directory in Crucible:
Go to your Crucible administration screen.
- Click Authentication (under 'Security Settings').
- Click Setup JIRA/Crowd authentication. Note, if LDAP authentication has already been set up, you will need to remove that before connecting to JIRA for user management.
Make the following settings:
|Authenticate against||Select a JIRA instance|
|Application name and password||Enter the values that you defined for your application in the settings on JIRA.|
The web address of your JIRA server. Examples:
|Auto-add||Select Create a FishEye user on successful login so that your JIRA users will be automatically added as a FishEye user when they first log in.|
|Periodically synchronise users with JIRA||Select Yes to ensure that JIRA will synchronize all changes in the user information on a regular basis. Change the value for Synchronise Period if required.|
|When Synchronisation Happens||Select an option depending on whether you want to allow changes to user attributes from within FishEye.|
|Single Sign On||Select Disabled. SSO is not available when using JIRA for user management and if enabled will make the integration fail.|
- Click Next and select at least one user group to be synchronised from JIRA. If necessary, you could create a new group in JIRA, such as 'fisheye-users', and select this group here.
- Click Save.
Inline issue creation
Inline issue creation allows a user to create a JIRA issue from a review comment. The user must have the 'Comment' permission in Crucible to see the Create Issue link in the comment. See Creating JIRA issues from the review.
This requires that Crucible is integrated with JIRA 5.0, or later, and is disabled if Crucible is integrated with an earlier version of JIRA.
When creating the issue, the Create Issue dialog only displays required fields for the selected issue type.
- A JIRA administrator can configure other fields to be required (and so displayed) from within JIRA. See Specifying Field Behaviour.
- Not all field types are supported. In particular, unbundled custom field types are not supported. See Supported fields for inline issue creation.
- If any required field for the selected issue type is not supported, Crucible displays an error, with a link to create the issue directly in JIRA. This link will pre-populate the project, issue type, summary and description fields, but will not create a link from the comment to the issue.
In the new issue in JIRA, you see a link back to the comment in Crucible. However:
- Issue links may be disabled in JIRA.
- The JIRA login that Crucible uses needs permission to create links.
- The FishEye plugin (available from the Atlassian Marketplace) must be installed in JIRA for permission checking on the display of issue links in JIRA.
You can disable the Inline Issue Creation plugin in Crucible to restore the earlier behaviour.