Forums

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

Bulk delete of JIRA users for Cloud

Shiv shankar lal
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 29, 2019

Please help me with your views on my doubt that i have 3000 user list to be revoked from JIRA , confluence and other attlasian products which i am revoking 1 by 1 which is too much time consuming.

 

Is there any possibility of revoking all those users in 1 shot with any process or python scripting based on their last login activity?

 

Please suggest your views!

1 answer

0 votes
Kristian Walker _Adaptavist_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 30, 2019

Hi Shiv,

Thank you for your question.

I can confirm that Atlassian provide the Delete User rest API to delete a single user but that they currently they do not provide any API to bulk delete users.

You could look to take the API above and look to create a script which executed multiple calls to delete the users that you require.

Please note that this API is marked as not being able to be used by APPs which means that you will not be able to make any calls to this API from any scripting plugins for Jira Cloud such as ScriptRunner for Jira Cloud.

If this response has answered your question can you please mark it as accepted so that other users can see it is correct when searching for similar answers.

Regards,

Kristian

Shiv shankar lal
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 2, 2019

Hi Kristian,

 

Thanks for your valuable suggestion.

 

Does this rest API feature will allow to delete bulk users using python scripting?

Suggest an answer

Log in or Sign up to answer