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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,760 views 11 18
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot