How to get the list of groups associated with Confluence Cloud instance with the help of REST API

Kavitha July 25, 2024

I am not seeing any Groups API for Confluence Cloud - REST v2, is there any way to get the groups associated ONLY with the Confluence Cloud site or instance.

As the other groups related APIs returning all the groups, it is not possible to filter the groups which are related to a product, and even the group name is not a good option as it is user defined.

1 answer

0 votes
Gaurav Arora _Wipro Id_ July 25, 2024

Hi @Kavitha ,

Try using the APIs mentioned here -> https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-groups/#api-rest-api-3-group-bulk-get 

https://your-domain.atlassian.net/rest/api/3/group/bulk

It will give you all the groups in your Organization including the Confluence groups you're looking for.

BR,

Gaurav

Kavitha July 25, 2024

Thanks Gaurav. Yes, there are some APIs in both Jira & Confluence cloud and both are returning all groups in that organisation. I am not sure why the response is like that, my requirement is to get the groups associated with a particual confluence instance or site only.

Gaurav Arora _Wipro Id_ July 25, 2024

@Kavitha , groups in Atlassian Cloud are at the Org level and not just limited to a single product like Jira or Confluence. That's why there's no API available for your particular case.

Anyways, wish you luck in finding the solution. Please share, if you find it.

 

Like Kavitha likes this

Suggest an answer

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

Atlassian Community Events