-
Suggestion
-
Resolution: Unresolved
-
None
-
1
-
Issue Summary
Currently, there is no official Bitbucket REST API to verify the existence of a group in Atlassian Admin by its group name. This feature would allow users to programmatically check if a group exists before adding it to a project, enhancing automation capabilities.
Workaround
Use an internal API endpoint that the UI utilizes to retrieve groups by group name:
https://bitbucket.org/!api/internal/workspaces/{workspace}/projects/{project}/group-privileges-to-add?search={group-name}
This API requires session cookie authentication and does not support application passwords or access tokens.