It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Can anyone share the experience for connecting jira to LDAP?

SherryX Apr 07, 2013

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

1 vote
Answer accepted
Tiago Comasseto Apr 07, 2013

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.


Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Jira

Try Jira Cloud for Outlook: Organize your work without leaving your inbox

Hi Atlassian community, My name is Max and I work on the product integration team at Atlassian. I am pleased to announce the early access program for the Jira Cloud add-in for Outlook. This add-in...

2,407 views 6 15
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you