Forums

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

REST or Java-API for user anonymization?

Johannes Heger (CD)
Contributor
November 30, 2020

Hello, do Jira Server has a REST or a Java API for user anonymization?

Anoymizing a single user takes about 13 min, and we have to anonymize 10 - 15 user per month. I think of implementing some tool-support here.

See also:

Kind regards, Johannes

2 answers

1 accepted

0 votes
Answer accepted
Hana Kučerová
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 1, 2020

Hello @Johannes Heger (CD) ,

yes, I think both is available.

You can find more information here:

Johannes Heger (CD)
Contributor
December 2, 2020

Hana, thank you! Tody I anonymized some users by REST and that worked. I'm thinking of anonymizing users in batch.

Hana Kučerová
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 2, 2020

Hi @Johannes Heger (CD) ,

great news! How do you plan to do in batch? Loop through the set of users and call the endpoint for each of them? To be honest I haven't test this functionality much yet, so I would grateful for any information and results. Thank you.

Johannes Heger (CD)
Contributor
December 3, 2020

Hi Hana, I'm investigating automating this. I'll get back to you the next weeks.

Viru Hosamath March 8, 2021

Hello @Hana Kučerová   - We are trying to anonymize a user on the JIRA cloud using the following REST API : 

https://ourcompany.net/rest/api/2/user/anonymization

 

We are getting a 404 error. Can we anonymize a user on JIRA cloud?

Hana Kučerová
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 10, 2021

Hi @Viru Hosamath ,

I found out your question has been answered here.

Johannes Heger (CD)
Contributor
April 18, 2021

@Hana Kučerová , I have written a Python script to anonymize Jira-users in bulk. It's not announced nor released so far. Maybe you're curious about it. Have a look if you like at https://bitbucket.org/jheger/anonymize_jira_users/src/master/. Any feedback is appreciated regarding usage and doc.

I have anonymized 60 users in two prod-instances so far, and hundreds of users in test-instances. 

Kind regards, Johannes

Like Valéria Cruz likes this
Hana Kučerová
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 19, 2021

Hi @Johannes Heger (CD) ,

this is awesome, thank you very much for sharing!

Like Johannes Heger (CD) likes this
0 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.
June 5, 2024

Hi, 

We've noticed that many users have been requesting an "Inactive User Anonymizer" feature for anonymizing users who have been inactive for a certain time automatically. We are pleased to inform you that our app, "User Data Cleanup for Jira", includes this functionality. It allows you to track users who never logged in or haven't logged in for a specified number of days and you can use Jira Automation Rules to automate their deactivation or anonymization.

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 install 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.13
TAGS
AUG Leaders

Atlassian Community Events