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 votes

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 Sign up to answer
Community showcase
Published Thursday in Jira

Updates to give you visibility into what's coming in Jira Server and Data Center

Hello, Community! My name is Gosia and I'm a Product Manager on Jira Server and Data Center here at Atlassian. Since 2002 when we launched our public issue tracker, jira.atlass...

425 views 1 13
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