Connect Bitbucket to Agent0, AI SDLC Insights, and AutoMerge

Dash0 now connects to Bitbucket Cloud. Agent0 works in your repositories on your behalf, AI SDLC Insights tracks your pull requests, and AutoMerge scores and approves them.

Authors:
Matthias R

Bitbucket Cloud now works everywhere GitHub and GitLab already do in Dash0. One integration connects your workspaces. Agent0, AI SDLC Insights, and AutoMerge all use it.

Agent0 works in Bitbucket on your behalf

Agent0 reads commits, diffs, and pull requests while it investigates, so a root cause points at the change that caused it. Ask it to fix the bug and it pushes a feature branch and opens a pull request. It never pushes to the default branch.

Every member connects their own Bitbucket account. A pull request Agent0 opens is yours, and it reaches only the repositories you can reach. An automation acts as the person who created it.

AI SDLC Insights

Pull requests from the connected workspaces appear in AI SDLC Insights with their author, state, reviewers, and linked AI coding sessions, next to the ones from GitHub and GitLab.

AutoMerge

AutoMerge scores each Bitbucket pull request and posts its decision as a comment and a build status. In Auto-approve it approves the ones that clear your rules, and in Auto-merge it also merges them. Bitbucket has no built-in auto-merge, so AutoMerge waits until every build on the commit has passed.

Getting started

An admin creates a token for each workspace and adds the Bitbucket integration under Settings → Integrations. That's a workspace access token on Premium, or a bot account's API token on Free and Standard. Dash0 creates the workspace webhook itself. Then every member connects their own account.

Set Up Bitbucket Integration covers tokens, scopes, and the webhook. Use Bitbucket in Chat covers how Agent0 behaves once you're connected, and Set Up AutoMerge covers the AutoMerge side.