Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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
4,554,294
Community Members
 
Community Events
184
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
Atlassian Team members are employees working across the company in a wide variety of roles.
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
TAGS
AUG Leaders

Atlassian Community Events