Connect Bitbucket and the Coder reads your repository, its pull requests, and its build results, copies the repository into its own workspace, and hands you a pull request for review. When your house rules allow it, it can also merge.
A repository access token is the narrowest choice and is enough for pull requests. Choose the Atlassian token if you want the Coder to read or open Bitbucket issues. On the Premium plan you can also create a project or workspace access token, which works like a repository token across many repositories.
Issues also need the repository's own issue tracker turned on, under the repository's Settings, Features. The Coder cannot create Bitbucket repositories. Create the repository yourself, then give it to the Coder.
The Coder needs a repository, written as workspace/repository.
In your message. Name it, or paste its link: "Coder, in acme/web, fix the login redirect."
For good, per Coder. Open Settings, Coders, edit the Coder, and under Repository and login choose Bitbucket as source control and fill in Repository. See several Coders.
Each Coder can also use its own login. Choose Its own login, paste a token, and add the Atlassian account email only if it is an Atlassian token. A repository access token on its own is enough.
Pushing and merging follow your house rules. The Coder pushes to a new branch of its own, never to your default branch, and never force pushes. Pushing waits for your Approve. Merging follows your merge policy: review only by default, never while builds are failing or still running, and always with a merge commit that keeps the branch. Your branch restrictions on Bitbucket still apply.
Drafts cannot be merged. Open the pull request on Bitbucket and select Mark as ready before you ask the Coder to merge.
"Pick up the top ticket" needs issues. With a repository access token, or with the issue tracker off, name the work in your message instead.
If the clone fails, the job stops as Blocked before any coding and says what to fix.
Several code hosts connected? A link or the word Bitbucket in your message picks Bitbucket.
Bitbucket Data Center is not supported.
Revoke at any time. Revoke the token in Bitbucket and the Coder loses access straight away. Then choose Turn off on the Bitbucket card.