Forums

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

Search users filtering on active

Jordan Vaughan October 24, 2022

Hi Team,

I'm trying to get a data set of all active users via REST API and can't seem to format it correctly.

Currently using

https://instancename.atlassian.net/rest/api/3/users?maxResults=2500 

but cannot figure out how only show users who has the "active": true status.

Any help on this would be much appreciated!

 

2 answers

1 accepted

1 vote
Answer accepted
Jordan Vaughan October 25, 2022

After playing around with it, this seemed to work.

https://instancename.atlassian.net/rest/api/3/user/search?query=*&maxResults=2500

Feels a bit hacky so hopefully there is a better solution coming down the pipeline.

Steven Mustari
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.
October 25, 2022

Great, glad you found a way around it.

0 votes
Steven Mustari
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.
October 24, 2022

Hello @Jordan Vaughan

I think you're going to have to dump that and filter from there. I don't think it's currently possible.

https://jira.atlassian.com/browse/JRACLOUD-72130

Jordan Vaughan October 25, 2022

Thanks @Steven Mustari! I started watching the issue to keep updated :) 

Like Steven Mustari likes this

Suggest an answer

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

Atlassian Community Events