Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,300,059
Community Members
 
Community Events
165
Community Groups

AD user in Jira has strange userkey JIRAUSER46614

Edited

Hi,

Our Jira SD (v4.4.2) users are synchronized from Active Directory. For most of them key, name and username values are the same. For example: 

jira.user=cccccc(cccccc) key=cccccc name=cccccc usrName=cccccc dispName=CCCC DDDD

But some of them have a weird key:

jira.user=aaaaaa(JIRAUSER46614) key=JIRAUSER46614 name=aaaaaa usrName=aaaaaa dispName=AAAA BBBBB

What does it mean? Is this an synchronization issue?

 

1 answer

1 accepted

0 votes
Answer accepted
Andy Heinzer Atlassian Team Jan 03, 2020

Hi Salvijus,

I understand that you have several users within Jira whose userkeys match their usernames, but some more recently created users have what appear to be completely random userkeys.  This is not a bug, nor is this a synchronization issue.

Instead this is a change that was made to Jira 8.2 (and Jira Service Desk 4.2) versions and higher in response to GDPR changes in Jira. All versions of Jira server 6.0 and higher have userkeys values for all users.  Historically this userkey value was made to match the username when the account was first created.  Starting in Jira 6 user accounts could be renamed, hence the need of the userkey field in order to keep historical tracking accurate.

However any newly created users in Jira 8.2 or higher will instead use this different format for their userkey when their account is first created.  From that document:

We’re changing this approach so that all user keys for new users (no changes for existing users) have the following format: JIRAUSER10100.

I hope this helps to explain the change in behavior here.

Andy

Hi Andy,

Absolutely :)

Thanks

Like Andy Heinzer likes this

Hello @Andy Heinzer ,

Is there any way to go back to the previous user keys format in JIRA 8?

Any dark feature for example?

It triggers a lot of issue in our organization currently as we just migrated to JIRA8 couple of month ago and the first new users start to appear with the JIRAUSERXXXXX format.

Andy Heinzer Atlassian Team Jul 30, 2021

Yes, technically there is a dark feature for that.  If you go to <Jira_URL>/secure/SiteDarkFeatures!default .jspa 

You can set the property called

com.atlassian.jira.user.dbIdBasedKeyGenerationStrategy.disabled

and in turn any new accounts created in Jira after this dark feature is set would be created with the userkey being set to the first username of that account.  Just be aware that this will not change the user_key for any existing account, this only affects newly created accounts.

Should you need to anonymize old user data in the future, then you might want to review Anonymizing users as Jira 8 has added some in product features to help here.

Andy

Like JAUTEE Nicolas likes this

Anonymizing is usefull for internal users isn't it ? It is not working on external users ?

Like JAUTEE Nicolas likes this

How can we customise external users format ? 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

Coming Soon: Insight Changing to Assets

The 2020 acquisition of Mindville added powerful asset and configuration management capabilities to Jira Service Management in the form of Insight. Following the completion of that integration, custo...

479 views 3 13
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