Confluence cloud - start parameter in REST API to get group members is not working

priyadarshini_ks August 3, 2017

Not able to get paginated result for group members in Confluence cloud using REST API.

https://<companyName>.atlassian.net/wiki/rest/api/group/{groupName}/member?limit=100&start=0

This call correctly returned me the first 100 members in the group.

When I tried to get the next 100 members throught the below call:

https://<companyName>.atlassian.net/wiki/rest/api/group/{groupName}/member?limit=100&start=101

It returned first 100 members again (same result as previous call)

limit parameter works, restricts the result to the value specified.

But start parameter is not considering the value specified, it is getting the results with its default value which is 0.

Could you please help, what I am missing here? 

1 answer

0 votes
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 4, 2017

Hi Priyadarshini KS,


You're not missing anything; this is actually a known bug in our system: CONFCLOUD-56322

There is one workaround if you have groups with fewer than 200 members, which I will assume you may not:

Use the limit value up to 200 for groups with less than 200 users.
There is no workaround for groups with more than 200 users.

Let us know if you have any questions about this. In the meantime you can vote on that issue to help show the number of users who have run into the issue, and watch it in order to be updated of any changes.

Kind Regards,
Shannon

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events