The Adaptavist Group LogoDocumentation

Connect with Bitbucket Cloud

The integration with Bitbucket Cloud allows you to sync repositories to Venue.sh as entities.

Note: Prerequisites
  • An organization in Venue.sh
  • A role of editor or above
  • A Bitbucket account with an appropriate permission level

Creating an app password

Venue.sh connects to Bitbucket Cloud with an API token and the email of the Atlassian account that owns it.

Note:
  • Bitbucket Cloud no longer accepts app passwords. If your connection still uses an app password, create an API token and update the connection with it.
  • Bitbucket's documentation on creating app passwords describes the process in detail. While we endeavour to keep this document current, Bitbucket's process may have changed.
Tip: As a best practice, we recommend creating the token on a dedicated service account.
  1. Go to your Atlassian account settings and sign in.
  2. Click Create API token with scopes.
  3. Give the token a name and choose its expiry date.
    Tip: Remember, when the token expires, you will need to replace it to ensure no lapse in functionality.
  4. Select Bitbucket as the app.
  5. Choose the following scopes for the token:
    • read:user:bitbucket
    • read:workspace:bitbucket
    • read:project:bitbucket
    • read:repository:bitbucket
    • write:repository:bitbucket
    • read:pullrequest:bitbucket
    • read:pipeline:bitbucket
    Note: The write scope does not include the read scope, so select both.
  6. Click Create token.
  7. Take note of the API token, as it cannot be retrieved once you leave the page.
When you add the connection in Venue.sh, enter the email of your Atlassian account in Atlassian account email and the token in API token.

Creating an OAuth App

To fully integrate Bitbucket Cloud with Venue.sh, you must set up an OAuth app.

  1. Go to https://bitbucket.org/your-project-name/workspace/settings/api
  2. Click Add Consumer.
  3. Insert the following properties:
    • Application name: Venue.sh

    • Callback URL: https://organization.venue.sh/api/auth/bitbucket

    Tip: Your organizations callback URL can be found in app when adding a Bitbucket Cloud connection on the right sidebar.
  4. Choose the following scopes/permissions for the application:
    • Account

      • read

    • Workspace membership

      • read

  5. Click Save.
  6. Take note of the Client ID and Client Secret values.

Search documentation

Start typing to search the docs.