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

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


1 badge earned


Participate in fun challenges

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


Gift kudos to your peers

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


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!


When pull request is created (for-pull-request?)


Currently, we have our system setup for Bamboo branch creation (for-new-branch) when a branch is created in Bitbucket.  We would prefer to have Bamboo plan branch creation when the Pull Request is created but I want to be sure of the impact of changing it.  

A) Is the "for-pull-request" setting correct in the YAML for "When pull request is created"?
B) Will the mainline branch (i.e. master) still auto-build when the PR is merged? 

Any input would be appreciated...

1 answer

1 accepted

1 vote
Answer accepted
Alexey Chystoprudov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Mar 23, 2021

a) yes,

b) yes, if you have trigger to build master branch on repository change

Thank you for the reply Alexey. Our Bitbucket is setup essentially as a mono-repo.  The "master" branch is one version, then we have branches that represent other versions and releases off those versions. What we wish to have happen are the following steps. 

1) A developer creates a branch in Bitbucket off a mainline branch.
2) No builds automatically start in Bamboo (i.e. for-pull-request).
3) The developer can make multiple pushes to the remote branch without it triggering a build.
4) Merge is not allowed until at least one clean build is finished (currently configured this way)
5) The developer creates a PR and a build is triggered on the remote branch.
6) When the build finishes clean, the Developer merges into the mainline branch (may or may not be 'master', it could be any of our mainline branches.
7) When the merge occurs to the mainline branch, a build is triggered.

Currently, we are set up with linked repositories and the Bamboo trigger is a default "Bitbucket Server repository triggered"

Hey Alexey, I have it figured out and configured how I need it.  Thank you again for your assistance. 

Like Alexey Chystoprudov likes this

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events