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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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 to delete bulk user in jira

Hi, 

I want to delete a large amount of users using Cli in Jira,

but when I looked for this and that it was deleted as a csv file, I tested as follows.

acli --action runFromCsv --file "[FilePath]\user.csv" --common "--action removeUser --server "https://<Server IP>" --user "<userId>" --password "<Password>" --userId"

The error came out like this

Run: --action removeUser --server <Server> --user <userId> --password *** --userId
Parameter error: Invalid action: removeUser. Use --action "?" or --action <prefix>? to get a list of actions.
Client error: 1 actions failed from file: FilePath\currentSearchResultMyUserManagerForJira_-_Search_Result.csv

CSV 

The configuration of the CSV file is

fullname | username | email | status | lastLogin | groups | directory
Jaewoong Choi | testuser | a@a.com | Never logged in |  jira-software-users | Crowd Server

 

each OS is

Jira Server OS is Linux

Cli Client OS is window

 

I need help from Bob Swift OSS (Bob Swift Atlassian app).

2 answers

1 accepted

1 vote
Answer accepted

Hi @재웅 최 ,

Thanks for posting your requirement here !

We have raised support request in our bobswift portal for your requirement and please signup to our portal so that we can add to you the support request.

Signup link: https://bobswift.atlassian.net/servicedesk/customer/portal/1/user/signup

Can you please sure that you are using the latest version of the CLI Client(9.4.0). If not, can you please install 9.4.0 CLI Client. Please refer below link https://bobswift.atlassian.net/wiki/spaces/ACLI/pages/16875586/Downloads to download the latest version and to know the installation steps.

During installation process, you need to mention the instance url and login details ( please refer 7 and 8 step of the https://bobswift.atlassian.net/wiki/spaces/ACLI/pages/16875586/Downloads#Downloads-InstallingonLinux,MacOSX,andWindowsdesktops)

Post CLI Client configuration, please follow below steps for bulk delete of users in Jira.

  • Create a .csv file that contains userIds of the users you wish to delete. An example file is shown below:
    image2020-7-8_18-36-34.png
  • Run the below command in cli directory to delete the user accounts that are provided in the .csv file (user.csv in this example).
    --action runFromCsv --file "user.csv" --common "--action removeUser" --continue
    
    

Note:

  • Make sure to run the command in a non-production environment before testing in a production environment.
  • Update the .csv file with the usernames appropriately.

Please let us know if you have any additional questions, we are happy to help you !

Thanks,

Avinash

Hi @재웅 최 ,

Happy 2021 !

Did you get chance to review our earlier comment on deleting bulk users using Jira CLI.

Thanks,

Avinash

0 votes
Danny Community Leader Dec 18, 2020

Hello @재웅 최 

My recommendation is that you contact Bob Swift's support desk directly. There is a support page with the various support links and their Confluence knowledgebase.

If you need support

Please create a support request.  An alternative is emailing support@bobswift.appfire.com.

Hope this helps,

Danny

Suggest an answer

Log in or Sign up to answer
TAGS

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