This page last changed on Feb 22, 2011 by smaddox.

Atlassian JIRA is an issue and project tracking tool. Like Confluence, JIRA offers the ability to store its users and groups in its database. You can configure Confluence to look for its users and groups in the JIRA database. This page describes the legacy JIRA database connector, which provides a direct connection to the JIRA database.

When to use this option: Choose the legacy JIRA database connector if your JIRA server is JIRA 4.2 or earlier, for backwards compatibility with the already-existing option for Confluence to use JIRA for user management.

If you are using JIRA 4.3 or later, you cannot use the legacy JIRA database connector. Instead, choose the 'Atlassian JIRA' directory type.

Connecting Confluence to JIRA

To connect Confluence to JIRA 4.2 or earlier:

  1. Go to the Confluence 'Administration Console'. To do this:

    • Open the 'Browse' menu and select 'Confluence Admin'. The 'Administrator Access' login screen will be displayed.
    • Enter your password and click 'Confirm'. You will be temporarily logged into a secure session to access the 'Administration Console'.
  2. Click 'User Directories' in the left-hand panel.
  3. Add a directory and select type 'Legacy Atlassian JIRA (4.2 and earlier)'. Enter the settings as described below.
  4. Save the directory settings.
  5. Define the directory order by clicking the blue up- and down-arrows next to each directory on the 'User Directories' screen.

    Here is a summary of how the directory order affects the processing:

    • 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.

    For details see Managing Multiple Directories.

  6. In order to use Confluence, users must be a member of the confluence-users group or have Confluence 'can use' permission. Follow these steps to configure your Confluence groups in JIRA:

    1. Add the confluence-users and confluence-administrators groups in JIRA.
    2. Add your own username as a member of both of the above groups.
    3. Choose one of the following methods to give your existing JIRA users access to Confluence:
      • Option 1: In JIRA, find the groups that the relevant users belong to. Add the groups as members of one or both of the above Confluence groups.
      • Option 2: Log in to Confluence using your JIRA account and go to the Confluence Administration Console. Click 'Global Permissions' and assign the 'can use' permission to the relevant JIRA groups.

JIRA Settings in Confluence

Setting Description
Name A meaningful name that will help you to identify this JIRA server amongst your list of directory servers. Examples:
  • JIRA
  • Example Company JIRA
Datasource Location The JNDI name of the JIRA datasource configured in your application server. Example:
  • java:comp/env/jdbc/YourJiraDatasource
RELATED TOPICS

Configuring User Directories

Document generated by Confluence on Mar 16, 2011 18:33