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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

how delete multiple customers in jira service desk (with a bulk for example)

Dear all

I created a Jira Service Desk for 2 organisations : 1 with 16000 users and 1 with 300 users.

the big one don't use my services any more. I would like to delete accounts.

I thought to change issue's reporters to anonymous with a bulk operation. But I can't find a bulk system to delete all the accounts in one time.

thanks for your help

Abbe

2 answers

0 votes

Anne,

Can you search all of these users in some way?  If you can match these users based on something like domain name, you could write a rest API script to delete users.

Check out the rest API here. https://developer.atlassian.com/cloud/jira/platform/rest/v3/#api-rest-api-3-user-delete.

On the other hand, depending on the way your Service Desk is set up, you may not need to remove the users, you might just be able to remove them from the service desk itself. Are your permissions set up so they have to be added to the service desk to access it? Are they all a part of a group, or are they added individually? If the permissions are set up so they need to be added to the desk AND they are all a part of a group, you could just remove the group from the desk.


Thanks,

Kian

Hi Kian,

thanks for your answer.

I have all permissions to delete users from service desk but to respect GDPR law I have to delete Alassian users accounts.

Yes I can match these users with the domain name. I read the link you sent. I understand that the solution is to write this rest API script.

I will try

thanks a lot

Happy new year !

Anne

Hi Kian,

Following documentation, we did the script. The response is 400 and error message :

(httpCode=400){"errorMessage":"Customers cannot be removed from this service desk because it has open access enabled","i18nErrorMessage":{"i18nKey":"sd.error.servicedesk.customer.remove.servicedesk.open.access","parameters":[]}}

we don't understand it. Could you help us ?

thanks a lot, Anne

Hi @Kian Stack Mumo Systems ,

Following documentation, we did the script. The response is 400 and error message :

(httpCode=400){"errorMessage":"Customers cannot be removed from this service desk because it has open access enabled","i18nErrorMessage":{"i18nKey":"sd.error.servicedesk.customer.remove.servicedesk.open.access","parameters":[]}}

we don't understand it. Could you help us ?

thanks a lot, Anne

Hey Anne,

I am sorry for not responding earlier. It's been a crazy couple of weeks for me!

 

This means that your service desk is open to the whole world! Anyone can sign up to raise requests in your service desk. For this reason, you are unable to remove the users. You first need to update your Service Desk permissions so that only the people explicitly added to the service desk have permissions to view it. Does that make sense?

Thanks,

Kian

Hi @Kian Stack Mumo Systems 

Thanks a lot for your answer.

Yes that make sense. But I don't know all the users that will need our services :(

Best, Anne

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Desk

The Complete Guide to Atlassian for ITSM

Hi Atlassian Community! This is Teresa from the Atlassian team. My colleague Paul Buffington @Buff and I are excited to share a brand new ITSM resource we’ve created – "The Complete Guide to At...

2,258 views 14 22
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you