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
4,365,215
Community Members
 
Community Events
168
Community Groups

Is there a Rest API service call that I can use to get a list of all users?

Is there a Rest API service call that I can use to get a list of all users?

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

2 votes
Answer accepted

/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

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

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.

The command was "/rest/api/2/user/assignable/search"

TAGS

Atlassian Community Events