Anonymizing users in bulk

Jakob KN
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.
January 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)

2 answers

1 accepted

0 votes
Answer accepted
Rilwan Ahmed
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 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
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.
January 26, 2023

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

Like Rilwan Ahmed likes this
1 vote
Nik Surmanidze _Actonic_ February 7, 2023

Hi Jakob, you can also use Data Protection and Security Toolkit for that, which gives you the opportunity to anonymize users in bulk and remove all user data from every field.

This application has many more features, which can apply to the data protection use cases. Feel free to reach out to me any time to discuss the features.

Please check this application from the Marketplace

AOK-BV February 28, 2024

Hallo Nick,

kannst DU dich bitte bei mir melden.

Meine Kontaktdaten sind im Ticket PSUP-1279

MfG

Uwe

Nik Surmanidze _Actonic_ March 3, 2024

Hi!

Sure! I'm already there!

Suggest an answer

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

Atlassian Community Events