• 260
    • 34
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      The search for inactive/only active users has been deprecated from the Find users API ( /rest/api/3/user/search ). This feature request is to provide a new endpoint or an automated way to filter the inactive/active users' information.

      Currently, it's required to manually generate a CSV of the users to have this information.

            [JRACLOUD-72130] Provide an API to search/exclude from search inactive users

            Returns a list of all users, including active users, inactive users and previously deleted users that have an Atlassian account

            I guess the query parameter with its value does some magic. Would be good, if Atlassian would document this accordingly, as such a parameter is not stated there anywhere...

            Michael Aglas added a comment - Returns a list of all users, including active users, inactive users and previously deleted users that have an Atlassian account I guess the query parameter with its value does some magic. Would be good, if Atlassian would document this accordingly, as such a parameter is not stated there anywhere...

            @mrinalini pal where did you got the endpoint ?

            as you said its working how did you verify its working ?

            Abyakta Lenka added a comment - @mrinalini pal where did you got the endpoint ? as you said its working how did you verify its working ?

            https://<site-url>/rest/api/3/user/search?query=*&maxResults=2500

            This API works to find all active users. I want to get a list of only those users with accountType=atlassian. I cannot understand how to form the query. Please help.

            Mrinalini Pal added a comment - https://<site-url>/rest/api/3/user/search?query=*&maxResults=2500 This API works to find all active users. I want to get a list of only those users with accountType=atlassian. I cannot understand how to form the query. Please help.

            Is this feature ready to get all active users?

            Nishant.Aggarwal added a comment - Is this feature ready to get all active users?

            Try this one out

            https://<site-url>/rest/api/3/user/search?query=*&maxResults=2500

            Jordan Vaughan added a comment - Try this one out https://<site-url>/rest/api/3/user/search?query=*&maxResults=2500

            Hi Team,

             

            can anyone help me the API

             

            Pasam Venkateshwarrao added a comment - Hi Team,   can anyone help me the API  

            chavi (Inactive) added a comment - - edited

            Hi Mateus Santos,

            The new endpoint for searching all(active + inactive) users should be available with the next deployment(check https://commit-tracker-ux.us-east-1.prod.atl-paas.net/?search=c1fad1bcc04 if you want to know when the api is ready to use by the customers)

            The endpoint sample url https://<site-url>/rest/api/3/users/all?startAt=0&maxResults=100

            maxResults can be max 1000.
            startAt and maxResults are non-negative

            chavi (Inactive) added a comment - - edited Hi Mateus Santos, The new endpoint for searching all(active + inactive) users should be available with the next deployment(check  https://commit-tracker-ux.us-east-1.prod.atl-paas.net/?search=c1fad1bcc04  if you want to know when the api is ready to use by the customers) The endpoint sample url https://<site-url>/rest/api/3/users/all?startAt=0&maxResults=100 maxResults can be max 1000. startAt and maxResults are non-negative

              Unassigned Unassigned
              mdossantos Matheus
              Votes:
              56 Vote for this issue
              Watchers:
              44 Start watching this issue

                Created:
                Updated: