Increasing Output from REST API for /rest/api/3/group/member?maxResults=##

Max Haley
Contributor
July 2, 2024

I don't seem to be able to use maxResults to get any users past the default (50)

Can I not get all users without having to get them paginated?

https://site.atlassian.net/rest/api/3/group/member?maxResults=250&groupname=group&includeInactiveUsers=false

1 answer

0 votes
Bill Sheboy
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 2, 2024

Hi @Max Haley 

I have not used that one before, and based on the documentation for the REST API: https://developer.atlassian.com/cloud/jira/platform/rest/v3/intro/#pagination

maxResults is the maximum number of items that a page can return. Each operation can have a different limit for the number of items returned, and these limits may change without notice. To find the maximum number of items that an operation could return, set maxResults to a large number—for example, over 1000—and if the returned value of maxResults is less than the requested value, the returned value is the maximum.

So perhaps 50 is the limit for that endpoint.

You may want to also ask this question in the Developer Community to see if someone from Atlassian answers: https://community.developer.atlassian.com/

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events