Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Should I be concerned that the ID values in the app_user and cwd_user tables don't match?

Albert Lukan June 1, 2022

I was pulling user data from our MS SQL database to identify an account in Jira Service Management that was causing us issues and realized that in the app_user and cwd_user tables, the IDs for the user don't always match. They do in the beginning, then are off by 1 or 2 for the same user as the count gets higher. 

This doesn't seem to have caused any impact and the user data looks correct when viewed in Power BI using the Power BI Connector, but I want to make sure this deviation won't cause some kind of issue down the line. 

Has anyone else encountered this? 

Jira_ID.png

2 answers

1 accepted

3 votes
Answer accepted
Nic Brough -Adaptavist-
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 1, 2022

Yep, it's one of many reasons never to read a Jira database - it makes less sense than you might guess.

You are safe though, it is nothing to worry about.

Albert Lukan June 1, 2022

Thanks for the quick response!  And yeah I had to stop exploring tables for my own sanity.

Nic Brough -Adaptavist-
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 1, 2022

I think the database gave me a nervous breakdown around 2007... ;-)

Like Albert Lukan likes this
0 votes
Maxime Boyer May 15, 2024

The ID in the app_user table is the ApplicationUser.getId(). They must match the cwd_user table on lower_user_name.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events