- Review each pull request (PR) and write a summary comment and inline comments.
- Resolve its own comment threads when a later scan shows that the issue is fixed.
- Show a build status, when status reporting is on.
- Collect 👍/👎 reactions on its inline comments (Bitbucket Data Center 7.21 and later only).
Requirements
Vidoc supports Bitbucket Cloud and Bitbucket Data Center. One Vidoc installation connects to one Bitbucket type only: Bitbucket Cloud or Bitbucket Data Center.- Vidoc Cloud
- Self-hosted
Vidoc Cloud does not support Bitbucket. The Bitbucket card on the Integrations page shows Not available in this deployment. To use Bitbucket, use a self-hosted installation. Refer to Deployment options.
Prepare a token
Bitbucket Cloud
Use a scoped Atlassian API token or a workspace access token. App passwords were disabled on June 9, 2026. Replace an old app password before you connect. Refer to Atlassian’s app password notice.
The token must cover every repository you import. The repository permission covers code access and build statuses. Bitbucket Cloud’s pull request Read permission also permits creating, editing, and resolving comments. Vidoc does not create webhooks, so create them separately with an account that can manage repository webhooks.
For token creation and scope details, refer to API token permissions, API token authentication, and workspace token permissions. Atlassian documents the required scopes for build statuses and PR comments.
Bitbucket Data Center
Use an HTTP access token with Project read and Repository write permissions for repository access and PR actions. For a user token, set Username to the token owner’s Bitbucket username; Git Username can stay empty. For a project token, leave Username empty and set Git Username tox-token-auth. Refer to Atlassian’s HTTP access token guide for your Bitbucket version.
Connect Bitbucket
You must have the Admin role in Vidoc.1
Open the Bitbucket connection
In the web app, open the account menu and select Integrations. On the Bitbucket card, click Connect. If Bitbucket is already connected, click the card, then click Add connection.
2
Fill in the connection form
In Configure Bitbucket, fill in these fields:
3
Test and save the connection
Click Test Connection. Vidoc checks whether it can list repositories with the Bitbucket API. This test does not verify Git clone access or PR comment permissions. Save Bitbucket Connection stays disabled until the test passes. Then click Save Bitbucket Connection.
4
Import repositories
In Import Bitbucket repositories, select the repositories to add to the current project. Click Import selected repositories.
5
Create the webhook in each repository
- Open Integrations > Bitbucket. Open the actions menu of the Bitbucket account and select Configure webhook.
- The Configure Bitbucket webhook dialog shows the Webhook URL, the Secret, and the Events. Use the copy buttons.
- In Bitbucket, open the repository settings and create a webhook with the name
Vidoc Security. - Paste the URL and the secret. Turn on all the events that the dialog shows.
The copy button of the Events field copies the event names for your Bitbucket type.
Import more repositories later
- Open Integrations > Bitbucket.
- Open the actions menu of the Bitbucket account and select Import repositories.
- Create the webhook in each new repository.
Turn on PR reviews for repositories
Open Repositories in the web app. Turn on the PR reviews toggle for each repository to scan. You must have the Developer role or higher. When you turn on PR reviews:- Vidoc indexes the default branch of the repository and then runs a first full scan of the default branch. Refer to Scan types.
- Vidoc does not create the webhook. Make sure that each repository has the webhook from Connect Bitbucket.
- Vidoc then reviews each new PR and each update to a PR.
Bitbucket specifics
Update credentials
Replace the token before it expires, or after you rotate it in Bitbucket:- Open Integrations > Bitbucket.
- Open the actions menu of the Bitbucket account and select Edit.
- Paste the new token in PAT. If you keep the field empty, Vidoc keeps the saved token.
- Click Test Connection, then click Save Bitbucket Connection.

