Forums

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

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 Champion
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
2 votes
Dang Thi Thuy Tien
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.
May 28, 2024

Hi, we noticed that several users have been requesting a "Bulk User Anonymizer" feature. I’m excited to share that our app, UDC (User Data Cleanup for Jira), includes this functionality and can help you easily anonymize multiple users at once.

Key features of this app include:

  • Highly customizable and modular: Configure multiple cleanup rules that can be applied to a single or bulk of users. Maximize control over user-specific data cleansing.

  • Two-Stage Cleanup: Leaving Day & Permanent: Apply a two-stage cleanup process: deactivate, remove, or transfer specific user data on the leaving day, retain necessary information for traceability, and execute a permanent cleanup.

  • Preview & Retrospect: Cleanup Control: Before performing cleanup actions for single or multiple users, use the Preview to check all planned actions. Use the Retrospect to check previously cleaned data for specific users.

We believe UDC can save you time and effort, and we’d love for you to give it a try. You can find more details and download our app here

https://marketplace.atlassian.com/apps/1234248/user-data-cleanup-for-jira?hosting=datacenter&tab=overview

Suggest an answer

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

Atlassian Community Events