Hi guys,
While automating user creation in the Atlassian Cloud, I stumbled upon a problem.
Creating an Atlassian account for a user works good. The user is able to access Jira and Confluence.
However, I do not know how to invite a user to Bitbucket via API. What I want to do is add the user to a workspace and some groups within it. I presumed that if I added a user to a group, then they would gain access to the workspace as well.
That is why I tried to use groups endpoint (https://support.atlassian.com/bitbucket-cloud/docs/groups-endpoint/).
However, it requires a UUID. And I do not know how I can get that, if the user is not invited to the Bitbucket cloud yet.
Is there any way to do that via API? Thanks in advance for all the suggestions