Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot find a duplicate user

Robert Egan
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.
February 8, 2022

After the last upgrade (JIRA 8.20.3) health check reported a duplicate user account. The problem is, I have only been able to find one account, in the Crowd directory. Any ideas for finding the duplicate, or is the Duplicate Users health check broken?

3 answers

1 accepted

0 votes
Answer accepted
Alexis Robert
Community Champion
February 8, 2022

Hi @Robert Egan ,

 

what I usually do in this case is go to the database and get the entire directory information : 

select * from cwd_user

 

And import the result (simple copy and paste) in Excel. Then you can just use the "Duplicates" function to get the duplicate user.

 

Let me know if this helps, 

 

--Alexis

1 vote
Robert Egan
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.
February 8, 2022

Not sure why it did not show in the UI, but a SQL query did find the duplicate user. It was in local directory and the Crowd directory.

Tim Perrault
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.
February 8, 2022

Good to hear. Also check out this link to use the REST API. Forgot to add that to my answer on how I found the duplicate users.

0 votes
Tim Perrault
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.
February 8, 2022

Hi @Robert Egan 

 

I had this same issue. I fixed the duplicate users but the warning still showed up until I restarted the application.

Please be mindful that even after deleting the duplicate user accounts, the health check will still show as failing as it runs only once a week. If you'd like a quicker update, please restart JIRA for a faster update

Thanks,

Tim

Mike DESILE Positive February 9, 2022

Hi, same issue for me (8.20.5). I reset cache by adding and removing a new directory, use the link provide upper and check in database with this SQL :

select count(user_key), user_key from app_user group by user_key having count(user_key)>0

But the error still there...

@atlassian , is there an issue here ?

Tim Perrault
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.
February 9, 2022

Did you restart the Jira application after you did the fix?

Mike DESILE Positive February 9, 2022 edited

Of course not, this is a Production instance. We'll se after the next maintenance operation.

But in TEST environement YES, but error still there...

Like • Tim Perrault likes this
Tim Perrault
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.
February 9, 2022 edited

Do you know the last time the application was restarted?

 

Basically the check happens weekly. So let's say the server was restarted Monday at 3:30pm. It will run the check then, but then it won't run again until the following Monday or if you restart before then.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, team '25 europe, atlassian event, barcelona 2025, jira, confluence, atlassian intelligence, rovo, ai-powered collaboration, developer tools, agile teams, digital transformation, teamwork solutions, atlassian conference, product announcements

🌆 Team '25 Europe registration is now open!

Join the largest European gathering of the Atlassian Community and reimagine what’s possible when great teams and transformative technology come together. Plus, grab your Super Fan ticket now and save over €1,000 on your pass before prices rise on 3 June.

Register now
AUG Leaders

Atlassian Community Events