Bitbucket Cloud
Overview
Heeler connects to Bitbucket Cloud using an API token generated by Atlassian and with the permissions required for Heeler to perform assessments.
Create Bitbucket API Token
Using Atlassian, log into your account using this link to go directly to creating and managing API tokens. https://id.atlassian.com/manage-profile/security/api-tokens.
From the options, select Create API token with scopes.

Add a Name for the token and then set its expiration date out to one year (the maximum).

Specify that the API token is for Bitbucket.

Add the following read permissions. N.b. that by default only 10 permissions are listed at a time and these permissions are not among the first 10. You will either need to use search or page through the permissions to select them all

Copy the API token for use in Heeler

Gather Bitbucket Information
In Bitbucket, select the Settings icon at the top right corner of the screen, under Account settings, select Personal Bitbucket settings

Copy Username under Bitbucket profile settings

In Settings, select Email aliases in the left navigation bar. Copy your Atlassian account email address for use as your Bitbucket email address

In Settings, select Account settings in the left navigation bar, select Workspace settings

Copy Workspace ID

Add Bitbucket Cloud to Heeler
In Heeler, select the Settings icon
from the top navigationSelect Connections -> Code Organizations then select
Add Code Organization

Populate the Credentials tab
Enter a Connection Name for Bitbucket Cloud. It is a display name
Paste the Username
Paste the Email
Paste the API Token
Paste the Workspace Name (the Workspace ID)
Select Save & Continue

On the Webhooks tab, you see that Heeler creates a webhook to receive updates from your Bitbucket workspace. Select Next to review the summary

Review the Summary tab and select Done

After saving, confirm the connection is Healthy

Last updated
Was this helpful?
