Creating a workspace access token
Workspace access tokens are a Bitbucket Cloud Premium feature. A workspace access token reaches only the workspace it was created in, including every project and repository in it.
Open the access tokens page
Sign in to Bitbucket as an administrator of the workspace, then open the workspace.
- Select the Settings cog on the top navigation bar.
- Select Workspace settings.
- In the left sidebar, under Security, select Access tokens.
- Select Create access token.
Create the token
Give the token a name and an expiry, then select every scope listed. To receive webhook events, also select the webhook permission.
- Name:
StackOne Integration - Expiry: The date the token should stop working, or No expiry if your workspace admin allows it
- Select Create.
Copy the token
In the Access token created dialog, the token is shown only once and can’t be retrieved later.
- Copy the Access Token across.
Find the Webhook Workspace
Only needed to receive webhook events. Your Webhook Workspace is the workspace slug in the address bar when you open the workspace in Bitbucket.
- Format:
https://bitbucket.org/{workspace}/ - Example: if your URL is
https://bitbucket.org/acme-dev/, your Webhook Workspace isacme-dev
Link the Account
Connect
- Click Connect.
- If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider’s authorization flow.
- Once authorization is successful, you will see a confirmation popup.
Use Actions
Next Steps
Webhooks setup
Configure receiving Events for Bitbucket into StackOne.