Which case user_key in table app_user has value as ID?

Tran Tuan Duong June 17, 2019

I queried data in app_user table and found that almost cases user_key = lower_user_name.

However some cases user_key field value is ID##### (##### is value of ID field).

Example:

  • ID = 12345
  • user_key = ID12345
  • lower_user_name = duongtt

Let's try:

SELECT * FROM `app_user` u WHERE u.`user_key` LIKE '%ID%'; 

I ensure that all users logged in with their username.

Which case user_key in table app_user has value as ID?

2 answers

0 votes
naveen_nayak
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 16, 2020

This may be due to GDPR changes in JiraServer 8.2 

https://confluence.atlassian.com/jiracore/gdpr-changes-in-jira-975041009.html

0 votes
Payne
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 18, 2019

user_key holds the original value of lower_user_name. If the username ever changes, that will be reflected in lower_user_name, but user_key will always hold the original value.

As to why it is sometimes ID#####, I would that has something to do with anonymous access at some point?

Tran Tuan Duong June 18, 2019

Thank for your answer. My system is configured to avoid anonymous access.

And in my point of view, with anonymous access, how the system know to update low_user_name :)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events