Connect with Bitbucket DC
The integration with Bitbucket DC allows you to sync repositories to Venue.sh as entities.
- An organization in Venue.sh
- A role of Owner or above
- A Bitbucket DC account with an appropriate permission level
Creating a Personal Access Token
Bitbucket's documentation on creating personal access tokens describes the process in detail. While we endeavour to keep this document current, Bitbucket's process may have changed.
-
Sign in to your hosted instance of Bitbucket DC.
-
Click your profile pic, then select Manage account > HTTP access tokens > Create token.
-
Set a token name.
-
Choose the following scopes/permissions for the token:
- Project permissions
- Project write
- Repository permissions
- Repository write
- Project permissions
-
Click Create.
-
Take note of the personal access token as it cannot be retrieved once you leave the page.
Creating an OAuth app
To fully integrate Bitbucket with Venue.sh, you must set up an OAuth app.
-
Sign in to your hosted instance of Bitbucket DC.
-
Go to Administration > Applications > Application links.
-
Select Create link.
-
Select External application, and then choose Incoming as the direction.
-
Insert the following properties:
- Application name:
Venue.sh
- Callback URL:
https://<organization>.venue.sh/api/auth/bitbucket
- Application name:
Your organizations Callback URL can be found in app when adding a Bitbucket DC connection on the right sidebar.
-
Choose the following scopes/permissions for the application:
- Projects
- Admin
- Repositories
- Read
- Write
- Projects
-
Click Save.
-
Take note of the Client ID and Client Secret values.