Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

How to list members of a team? REST API

Hey all,

I see that the team 2.0 API is deprecated and I can't find a way to list members of a specific group.

 

Thanks for the help.

2 answers

0 votes
Vishwas
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.
Jan 03, 2022

Hi @angelaaa 

Since group list api is deprecated from the post it is mentioned that we have to use workspace api as documented here https://developer.atlassian.com/cloud/bitbucket/rest/api-group-workspaces/#api-workspaces-workspace-members-get

Regards,

Vishwas

Hey Vishwas,

Yes, I saw the workspace API, It doesn't give the correct answer.

It returns all the workspace users and I couldn't find a way to filter it by groups.

There is a solution with  v1 APIs, maybe its the only solution for now

Vishwas
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.
Jan 03, 2022

Hey @angelaaa 

Hmm, I also couldn't find any other API apart from workspace one.

Like you mentioned yes V1 API is the solution for now as mentioned here below in the link there are few API's which is supported temporarily.

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

Regards,

Vishwas

0 votes
Gonchik Tsymzhitov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jan 03, 2022

Hey,

as I understood from the announcement, it talks about the users endpoint that was deprecated in V1 api.

my issue is with groups Endpoint

Thanks

Suggest an answer

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

Atlassian Community Events