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
Hana, thank you! Tody I anonymized some users by REST and that worked. I'm thinking of anonymizing users in batch.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hana, I'm investigating automating this. I'll get back to you the next weeks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Viru Hosamath ,
I found out your question has been answered here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Johannes Heger (CD) ,
this is awesome, thank you very much for sharing!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.