Can I run a CLI script to find//add/remove Jira jira/confluence users vs removing them from the GUI admin pages?

Keith Langenberg April 27, 2016
 

1 answer

1 vote
Andrew Frayling
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.
April 27, 2016

Hi Keith,

You could probably use the getUserList CLI action to search for users to generate a CSV file and then removeUser with runFromCSV to remove them.

Andrew.

Allan Margono July 11, 2017

I use the latest Jira CLI ver 6.7.1 and I got an error when tried to removeUser CLI.

Here is the error:

Remote error: User is not authorized to perform the request. Response code: 401

I have verified the account has the correct password and has the admin right.

Suggest an answer

Log in or Sign up to answer