Forums

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

API to fetch all users listed on Atlassian Administration page under Directory > Users tab.

Mrinalini Pal
Contributor
April 11, 2023

Hi, I am trying to fetch all active users listed on Atlassian Administration page under Directory > Users tab.

FETCH API fetches all the users under the mentioned directory. However, I can see other users in the list on Atlassian page which is not fetched by the API. Is there any way by which all users from the list can be fetched?

Thank you.

1 answer

0 votes
Naveen Kumar_Appfire
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.
April 11, 2023

Hi @Mrinalini Pal

Using the below rest API you can fetch the first 100 users in JSON format. The rest API will result maximum of 100 users per page. In the resulting JSON format, you got the next parameter and use that next parameter's rest URL and it will result from rest of all users

https://your-domain.atlassian.net/rest/api/3/users/search 

Mrinalini Pal
Contributor
April 11, 2023

Hi @Naveen Kumar_Appfire 

Thank you for the response but this API is not giving me the desired result. Moreover, this API does not fetch the values of all user account attributes as done by the directory fetch API.

I want all the users as listed in the Atlassian Administration page.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events