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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,455,413
Community Members
 
Community Events
175
Community Groups

Anonymizing users in bulk

Jakob KN Rising Star Jan 25, 2023

Hi community!

We're facing a situation where we have to either delete or anonymize a lot of users which are already disabled, due to the amount of users it's not an option to anonymize the users manually one by one. 

Any comments, issues, etc. created by the user should remain in our instance as is the case when a user is anonymized.

My thought is that it might be an option with SQL directly in the database to retrieve the users who are disabled and haven't logged in for 5+ years (for example) and then either anonymize or delete them.

Is it possible to either delete or anonymize users through the database with a SQL query?

If anyone has ideas or experience with this, any info or pointers to documentation would be much appreciated. 

(we also need this for Confluence DC, but that'll most likely work differently than a SQL script for Jira)

1 answer

0 votes
Rilwan Ahmed Community Leader Jan 25, 2023

Hi @Jakob KN ,

In native jira, there is no option to Anonymize bulk users. Same was discussed previously in other posts and I found this post has a solution using python script. Please check the comment from @Johannes Heger _CD_ 

Also @Hana Kučerová has mentioned about rest and java options in the same post. 

Jakob KN Rising Star Jan 26, 2023

Thanks Rilwan, I'll have a look at the other post you're linking to. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.20.12
TAGS

Atlassian Community Events