How can I programmatically deactivate users?

Parker Van Dyk January 10, 2019

I am trying to write a Python script to read in users, possibly from a JQL statement or me just typing in the email in script, and deactivating those users. I know somehow someone has written a Python script to accomplish this, it would save me multiple hours per day. I don't want to use add-ons or anything, I would prefer it to be in Python, but am not opposed to another language if it can get the job done. Thank you all in advance!

2 answers

0 votes
Ignacio A November 14, 2022

Hey @Parker Van Dyk , did you find an answer to this?

 

It's very frustrating that we still don't have a way to do this with the API

0 votes
Gonchik Tsymzhitov
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 11, 2019

Hi! 

If you find the solution feel free to provide the pull request :) 

https://github.com/atlassian-api/atlassian-python-api

 

Cheers,

Gonchik Tsymzhitov

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events