Skip to content
Docs ·Bitbucket Data Center

Code hosts

Bitbucket Data Center

Connect Bitbucket Data Center to MergeHarbor with a project or repository HTTP access token, choose repositories, and let MergeHarbor register webhooks.

  1. In Bitbucket, create a project or repository HTTP access token with write permission. Write access is required to post comments, approve pull requests, and manage webhooks.
  2. In the MergeHarbor console, choose Bitbucket Data Center, enter your instance URL (for example https://bitbucket.example.com), and paste the token.
  3. Choose the repositories to review. MergeHarbor registers webhooks automatically.

Reviews appear as anchored inline comments with a build status. Repositories are identified as PROJECT/repository.

Comment @mergeharbor review or another command on a pull request. A comment that starts with mergeharbor review (no @) works too, which helps when the editor turns @ into a people picker.

Instances on private networks need a self-hosted MergeHarbor deployment.