Is there a Rest API service call that I can use to get a list of all users?
Community moderators have prevented the ability to post new answers.
/rest/api/2/user/assignable/search
Pass in the project key and it will return all the users for that project.
http://docs.atlassian.com/jira/REST/latest/#id124633 <- docs URL
http://docs.atlassian.com/jira/REST/latest/#id120325
You can search users using a criteria.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Awesome....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you. That will not give me a list of all users because it requires some search criteria:
{"errorMessages":["The username query parameter was not provided"],"errors":{}}
But it lead me to this which does work given a project key:
http://docs.atlassian.com/jira/REST/latest/#id120417
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That link no longer seems to work for me. Were the docs updated? I wish I put the command that I was using in the comments because now I don't remember which one it was.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.