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

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

monkeypunch August 29, 2012

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
monkeypunch September 3, 2012

/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

1 vote
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 30, 2012

http://docs.atlassian.com/jira/REST/latest/#id120325

You can search users using a criteria.

Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 30, 2012

Awesome....

monkeypunch August 30, 2012

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

monkeypunch September 3, 2012

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.

monkeypunch September 3, 2012

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

TAGS
AUG Leaders

Atlassian Community Events