Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Export users from User Management API or Programatically

Hello ,


Is there any way to export users ( programmatically via API or any other way




1 answer

0 votes
Darryl Lee
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 12, 2022


I tried Bob Swift's CLI command getUserList, then compared the output to the Export from the Admin interface, and alas, it misses a lot. (API calls the CLI uses are down at the end of this answer.)

acli jira -a getUserList --outputFormat 999 --file cliusers.csv

The resulting CSV only contains these columns:

User Key Name Email Time Zone Avatar URL Active Groups Account Type
Darryl Lee 12345:12ab3c45 Darryl Lee America/Los_Angeles Yes administrators,jira-administrators,jira-developers,shift2,site-admins atlassian

And it only contains ACTIVE or INVITED user accounts, whereas the export from the Admin interface includes SUSPENDED accounts. Additionally the CSV has many many more columns, and optionally creates a row for each Group/User, allowing for easier group sorting.

Group id Group name User id User name email User status Added to org Org role Last seen in Jira Service Management - boomaster Last seen in Jira Software - boomaster Last seen in Confluence - boomaster Last seen in Team Central - boomaster Last seen in Statuspage - boomaster Jira Service Management - boomaster Jira Software - boomaster Confluence - boomaster Team Central - boomaster Statuspage - boomaster
123456-b2b1-xxxx-1234-xxxxxxx jira-servicemanagement-users 12345678ec1234567a0fd743 fb-jiratest3 Suspended 17-Nov-21 None Never accessed Never accessed Never accessed Never accessed Never accessed User User None None None

So, it kind of depends on what you need.

I used the --verbose flag on getUserList and was able to see the API commands that CLI uses. Basically it's getting a list of users, then iterating through each one to get their group memberships:

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events