Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Bobswift CLI JIRA / Export all User IDs and remove User from List


I'm looking for a way to export all of our users with there corresponding userID and afterwards I will remove most of them with the removeUser and runfromList command. 

As far as I seen, I can only show the userID of a single user not with the getUserList command.  

Is there any other option?

Background: We've to split our JIRA to two instances and before I have to clean up all users by hand I'm looking for a smarter way to do this. 

1 answer

1 accepted

Hi @Jonny Klaas - To show userId in getUserList  add --outputFormat 999 to the command.  That will show all available columns.  You can then add the --columns parameter to limit the columns to only the ones you need. 

When trying to decide on columns I find it useful to add --limit 1 so that getUserList shows me just the columns headings and one data row so it easier to read.

This article might also be helpful:

Thanks Michael, that helped me out! :) 

Oh I see that the "removeUser" command is not applicable for cloud? Is this correct? 

If so, is there any other chance to bulk remove the users from list? 

The removeUser action does work for cloud.  You can always verify this by clicking through the action link to see the full details on the action.

Like wangzehong likes this

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Marketplace Apps & Integrations

New Cloud Apps Roundup - Spring 2021

Atlassian's marketplace partners have had a very productive start to 2021! Since our last roundup, our developer community has added over 160 new cloud apps to the Atlassian Marketplace to help you...

220 views 3 20
Read article

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