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?
Community moderators have prevented the ability to post new answers.
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.
No, there is no global user listing or create abilities in the REST api. This is answered numerous other places in this site.
https://answers.atlassian.com/questions/105803/how-do-i-get-users-list-using-rest-api
The closest you'll get is this:https://developer.atlassian.com/static/rest/jira/5.2.7.html#id229496
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.