Correct username not showing in Jira

We have Crowd that is connected to our Active Directory.

We have a user that was entered into AD incorrectly and subsequently changed to correct spelling.  The first username was imported into Crowd and on change to correct spelling the correct username is now visible in Crowd.

However, when viewing user management in Jira we can only see the original (incorrect) username.  Therefore the user cannot login to Jira.

We have seen this issue in Confluence whereby two entries are put into the DB and you have to delete the older entries to allow the correct entry to work.

Is there a similar problem with Jira and if so, is the fix the same or different?

Crowd 2.8.2

Jira 7.3.6

Confluence 6.2.1

Thanks in advance.

1 answer

0 vote

Jira handles user renames a bit differently.   When an account is first created in Jira, it will always have a set value in the app_user.userkey field in the database.  That value will never change even if the account itself is renamed later.

Given that the account has been fixed in ldap, and then Crowd is syncing those changes.  In turn I would expect Jira to also have synced this change.   The only concern I have about this, is how did Crowd handle this rename?   If Crowd is using an "Alias" it can be that you can have different usernames for the same account in Crowd.

You might want to walk through Specifying an Alias in Crowd just to understand if that is what is happening here.   I'd rather not go hacking through the database unless it's a last resort.   If Crowd is setup this way, then it's possible that trying to hack the database to change this would just have that change get reverted the next time Crowd syncs with Jira again.

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 ...

3,338 views 14 20
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