How to delete 10000 users in bulk?

Yogesh
Contributor
November 27, 2011

Earlier JIRA Administrator wrote a script to add all users in LDAP to JIRA. 29000 users have been added to the JIRA instance. Now I found that there are only 2000 users are required and rest 27000 users are not at all relavant. How do i delete the 27000 users from JIRA.

Do you have any automation, python script or any other mechanism?

2 answers

1 accepted

1 vote
Answer accepted
Bob Swift (personal)
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.
November 28, 2011

JIRA Command Line Interface has actions for adding and removing users. These can be used in combination with runFromSql action to drive the automation from some database select statement.

1 vote
Ludovic Lambert November 27, 2011

Hi Yogesh,

You can use WGET scripts.
You can also easily build a Selenium IDE script.
Using Jelly scripting is also an option.

Cheers,
Ludovic

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events