Cloudability SaaS Connect Bitbucket to Cloudability SaaS

What data is used by Cloudability SaaS from Bitbucket?

Bitbucket is integrated with Cloudability SaaS using the Bitbucket API.

For more information, refer to https://docs.atlassian.com/bitbucket-server/rest/7.18.0/bitbucket-audit-rest.html .

Cloudability SaaS uses user and expense data from the Bitbucket API. The data is analyzed and displayed as useful insights in Cloudability SaaS .

The list of fields that are retrieved by the connector can be quite long and detailed. It's therefore in a drop-down so that it's easier to read through this intro if you're not wanting the detail:

View the data fields that are used by Cloudability SaaS from Bitbucket

Cloudability SaaS uses API calls to retrieve data from Bitbucket.

Authentication

For more information about this call, refer to https://developer.atlassian.com/cloud/bitbucket/rest/intro/#authentication

The endpoint we call for OAuth is: https://bitbucket.org/site/oauth2/access_token

Cloudability SaaS parses the following returned fields:

access_token

expires_in

token_type

refresh_token

Get workspaces

For more information about this call, refer to https://developer.atlassian.com/cloud/bitbucket/rest/api-group-workspaces/#api-workspaces-get

Cloudability SaaS parses the following returned fields:

size

page

pagelen

next

previous

values

uuid

name

slug

is_private

created_on

updated_on

Get workspace members

For more information about this call, refer to https://developer.atlassian.com/cloud/bitbucket/rest/api-group-workspaces/#api-workspaces-workspace-members-get

Cloudability SaaS parses the following returned fields:

size

page

pagelen

next

previous

values

type

user ( username , nickname , account_status , display_name , website , created_on , uuid , has_2fa_enabled )

Calculated fields

Last login date

No last login date is recorded for Bitbucket.

Activity status

The activity status is set based on the value of account_status from the workspaces-workspace-get API call. If the value is set to active then the user is marked as active. Otherwise, the user is marked as inactive.

Purchased license count

This value is set manually.

Used license count

The used license count is based on the number of users found by Cloudability SaaS with a license assigned.

Connect to Bitbucket

Before you start

Prerequisites, supported versions, , decisions you need to make (might XREFto a "best practice" topic or HREF to Community page)

Before you can integrate Bitbucket with Cloudability SaaS , you must have the following:

A Bitbucket account subscription.

For more information, refer to https://www.atlassian.com/software/bitbucket/pricing .

The Bitbucket account must have Admin permission levels.

For more information, refer to https://confluence.atlassian.com/bitbucketserver/global-permissions-776640369.html

Steps to connect

Connect Bitbucket to Cloudability SaaS .

Find the Bitbucket tile and select Connect .

You are directed to the login page for your Bitbucket account.

Log in with your administrator account and follow the instructions to authorize the Cloudability SaaS application.

Confirm success

Use the wording below as a guide when describing a single connector. For example, a single application connected using an API connection.

Confirm that Bitbucket has been integrated with Cloudability SaaS correctly.

Confirm that the Cloudability SaaS Dashboard displays the Bitbucket tile under Your Connected Applications .

Select the Bitbucket tile and confirm that data from Bitbucket can be viewed in the application details page.

Compare the data in Bitbucket to data in Cloudability SaaS to confirm success.

Log in to Bitbucket with the account used to link to Cloudability SaaS .

From your avatar, select the workspace or select All workspaces for a full list of workspaces.

Add up the members in all of the workspaces. This sum should be equal to the number of users in the Cloudability SaaS connected application.

Compare the workspace users with the list of users in the Cloudability SaaS connected application.