Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How to kick off merge job after APPROVED pull request

New to BitBucket and Bamboo; I'd like to have the following process:


1) Dev's create branch off master, complete task

2) Dev creates pull request for branch and attaches reviewers

3) Code Review occurs, may need additional changes, eventually branch is approved

4) Bamboo triggers merge of branch into master once pull request is approved


Currently the build triggers after a pull request is created, but the result is kicking off a merge before the code review is approved. Is their a way to configure this behavior? If not, what is the best way I can accomplish the above flow?

1 answer

0 votes
Foong Atlassian Team Apr 11, 2018

Actually, Bamboo and Bitbucket integration is designed to have the following flow:

  1. Pull Request created
  2. Bamboo perform merge build (do not configure it to perform push for successful build)
  3. Reviewer for the Pull Request can see if there is any error with the build after the merge (this merge isn't push to Bitbucket yet)
  4. Reviewer approve the Pull Request
  5. Reviewer or user with permission to merge it will click on the Merge in the Pull Request

At the moment, Bamboo Branch plan will run automatically when it is created.

Refer to the following feature request: (which is related to

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events