Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

a way to fetch a list of users against a organization using rest api?

is there a way to fetch and create users on atlassian on-demand products using rest api .. or does the plugin sdk products for atlassian products provide a way to write a plugin for atlassian on demand?

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

There are 2 ways to get list of users that work with OnDemand. In either case, be patient as it takes quite a few minutes if your instance has hundreds of users.

Confluence Command Line Interface getUserList action is the best option as it returns all users including their email address when using an administrator account.

confluence --action getUserList --file user-list.csv --outputFormat 2

JIRA Command Line Interface getUserList action requires a group name, but if you use it with group users you will get most of them, but no email. On my instance, all users are in the users group, so you get the same number of users with slightly different information.

jira --action getUserList --file jira-group-users-list.csv --outputFormat 2 --group users

There are also user management actions like addUser.

0 votes
EddieW Rising Star May 04, 2013

No, there is no global user listing or create abilities in the REST api. This is answered numerous other places in this site.

The closest you'll get is this:

You can write plugins using the SDK but getting published to ondemand can be difficult as they have a pretty high standard for security, appeal and functionality.


Atlassian Community Events