It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to kick off merge job after APPROVED pull request

Adam Hyatt Mar 23, 2018

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
Kah Loun 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:

https://jira.atlassian.com/browse/BAM-12692 (which is related to https://jira.atlassian.com/browse/BAM-12451)

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Marketplace Apps & Integrations

Webinar alert! An IT Admin's Guide to Securing Collaboration at Scale

Hello, Atlassian Community! My name is Dave Meyer and I'm a Principal Product Manager at Atlassian. I wanted to give this community a heads up about an upcoming Webinar that might be of interest...

166 views 2 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you