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:
- Edit the Confluence
server.xmlfile, to construct the datasource location, as described below.
- Restart Confluence.
- Choose the cog icon , then choose General Configuration under Confluence Administration
- Click User Directories in the left-hand panel.
- Add a directory and select type Legacy Atlassian JIRA (4.2 and earlier). Enter the settings as described below.
- Save the directory settings.
- 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.
- In order to use Confluence, users must be a member of the
confluence-usersgroup or have Confluence 'can use' permission. Follow these steps to configure your Confluence groups in JIRA:
- Add the
confluence-administratorsgroups in JIRA.
- Add your own username as a member of both of the above groups.
- 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.
- Add the
JIRA Settings in Confluence
A meaningful name that will help you to identify this JIRA server amongst your list of directory servers. Examples:
The JNDI name of the JIRA datasource configured in your application server. Example:
- Configuring the Internal Directory
- Connecting to an LDAP Directory
- Connecting to an Internal Directory with LDAP Authentication
- Connecting to Crowd or JIRA for User Management
- Connecting to JIRA 4.2 or Earlier for User Management
- Managing Multiple Directories
- Managing Nested Groups
- Synchronising Data from External Directories
- Diagrams of Possible Configurations for User Management
- User Management Limitations and Recommendations
- Requesting Support for External User Management
- Disabling the Built-In User Management