Can anyone share the experience for connecting jira to LDAP?

jira version: 5.1.8

Currently jira has internal user directory only, but confluence use external user management from jira.

Now we want to connect jira users to LDAP (for authentication only), but in our AD most of the user names are different from jira, what is the best way to do this task? I guess I need the scripts to move users from one user directory to the other, and also change the user IDs, can anyone share the scripts or any advise will be welcome. Thanks

1 answer

1 accepted

Hi Sherry,

Currently JIRA doesn't have a native function to perform username change, but there is already an improvement request to this feature and we have the information that it is going to be possible in version 6+ see here.

At this stage, there are some other possible methods to rename an user, but none of them are supported by Atlassian, since they are considered customizations. But, even so you may consider one of them:

  • There is a third-party plugin (Script Runner plugin) that has a built-in function to rename users without restarting or re-indexing the JIRA instance. Before proceeding with this, however, I'd advise you to read the full description of this script here: Rename a User ID:

    You do not need to restart or re-index. However, depending on how prolific the user to be renamed has been, this can make extensive modifications to the database. It's sensible to take a database backup first, to try to do this at a quiet time, and to test afterwards. You can log in as the user you have renamed using either of these plugins - one, two, and test.

  • You can also create an XML backup and execute a search and replace on it to change the username. This process is better described in this documentation.

I hope this information has helped.

Cheers

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

57 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you