Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira REST API v3 - Get all users issue

Paweł Nędzyński
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 8, 2019

Hi,

I have a problem with "Get all users" request - in response to GET /rest/api/3/users/search I do not receive data related to "name" and "key" properties of user accounts. According to documentation (https://developer.atlassian.com/cloud/jira/platform/rest/v3/#api-rest-api-3-users-search-get) these both properties should be present in response.

Previously I was getting all users (with name and key) by "/rest/api/latest/user/picker?query=_&maxResults=1000" request, but it does not work anymore.

Please let me know how can I resolve the issue.

Kind regards,

Paweł

1 answer

1 accepted

1 vote
Answer accepted
Warren
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.
July 8, 2019

Hi @Paweł Nędzyński 

Have you tried using the API call

/rest/api/latest/user/search     

with the parameter ?query= added on? As per this ticket (scroll to the bottom of the comments section) this works for me

Paweł Nędzyński
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 8, 2019

Hi @Warren 

It's working, thanks a lot for your help!

 

Paweł

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events