Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Bitbucket API list group members pagination

Admin acme-deepcred July 25, 2022

Hello, I'm trying to list members of a group using the API.

I am aware that API v2 doesn't support that so I'm using the API v1.

https://support.atlassian.com/bitbucket-cloud/docs/groups-endpoint/

I didn't find anything regarding pagination, how can I list large group's members?

2 answers

1 accepted

2 votes
Answer accepted
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 2, 2022

Hello @Admin acme-deepcred ,

Thank you for reaching out to Community.

The Bitbucket 1.0 API endpoints, including the groups endpoint,  do not support pagination and all the results for the API call will be returned in a single request.

Our development team is actively working on implementing the equivalent groups endpoint into the 2.0 API, which will then fully support pagination. You can check the feature request in the below link : 

I would suggest you to add your vote there, since this helps both developers and product managers to understand the interest. Also, make sure you add yourself as a watcher in case you want to receive first-hand updates from that ticket. Please note that all features are implemented with this policy in mind.

Thank you, @Admin acme-deepcred .

Kind regards,

Patrik S

Pramodh M
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 2, 2022

Thank you @Patrik S 

0 votes
Pramodh M
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 25, 2022

Hi @Admin acme-deepcred 

Have you checked with pagelen and page parameters?

https://developer.atlassian.com/cloud/bitbucket/rest/intro/#pagination

Thanks,
Pramodh

Admin acme-deepcred July 25, 2022

Hi thanks for the answer!
Yes I have, these parameters don't seem to work with v1

Pramodh M
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 25, 2022

Hi @Admin acme-deepcred 

Can you check with the header information as described here and see if you get more information

https://support.atlassian.com/bitbucket-cloud/docs/use-bitbucket-rest-api-version-1/

Thanks,
Pramodh

Admin acme-deepcred July 26, 2022

Unfortunately I couldn't find anything related to pagination in the HTTP headers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events