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

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 vote

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

373 views 20 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you