I want to add new user directory with different username but shadow internal directory users

Hi all,

My question is related to users and directories and I am not sure if this is possible to be done. Currently we have users in the JIRA Internal Directory. Usernames are in the form firstname.lastname

We would like to enable a new directory with delegated LDAP authentication from our corporate active directory. New directory is configured and I am able to log in as my Active Directory account. But the problem is that under corporate active directory username are in the form FirstnameLastname - without the dot in the middle.

With the new configuration I have two active accounts in JIRA and I would like to tranfer all permissions/groups and activity from internal directory user to lapd user. As the usernames are not the same JIRA is not handle the one user as shadow to other user.

How is this possible to be done? Any directions to where I should look or what needs to be done?

2 answers

1 accepted

Rename user to a username that belongs to the new directory and it will work (ScriptI use)

0 votes
Chris Fuller Atlassian Team Feb 02, 2015

You cannot take your user accounts from one directory but your group memberships from a different one. In order to keep your permission stable, you will need to add the groups and memberships from your internal directory to the LDAP directory.

To make the shadowing work, you would first need to rename all of the internal directory users so that the usernames will match what is in LDAP before you create the LDAP directory and allow it to create its own users with those names.

Additionally, the ability to rename users did not exist prior to 6.0, so you would first need to upgrade if you are on an earlier version.

It also sounds like you already enabled LDAP with the mismatched usernames.  If so, it is going to be very difficult to sort things out and you are probably best off restoring from a backup and doing things the right way from there. Major changes to system configuration like this should always be validated in a test environment before you put your data at risk.

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,870 views 12 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