How can I get all user(active and inactive) list without pagination?

AutomationUIUser September 21, 2022

Hi,

 

I tried with https://<instance>/rest/api/2/user/assignable/search?project=<project key>

 

it is giving me all the assigned users. But I want to get all the active and inactive users from all the projects the user has access to.

 

Thank you

Mrinal

1 answer

1 accepted

1 vote
Answer accepted
Renzo Molina Arriagada
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.
September 22, 2022

Hi Mrinal!

If you have managed accounts on your Jira Cloud, you don't need to use the API to get the full list of users of the site.

Go to Settings->User Management->Export users.  From there you can follow the options to get a full CSV with all the users of your instance.

For more information check this link on the Atlassian KB https://support.atlassian.com/organization-administration/docs/export-users-from-a-site/

 

In case you'd like to export only the users for a specific project, I would suggest doing a script on your preferred programing lenguage and retrieve the paginated data using the REST API and then ordering it as you like.

 

Kind regards,

Renzo from Servicerocket.

Suggest an answer

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

Atlassian Community Events