How do I set up Bamboo to build pull requests from Stash/Bitbucket Server?

This question is in reference to Atlassian Documentation: Integrating Bamboo with Bitbucket Server

Your documentation talks about how I can see the build status on commits and pull requests. While there is documentation on how to set up branch builds, theres no documentation about how to set up Bamboo to build only Pull Requests (in addition to master).

I'm currently running Stash v3.11.

2 answers

This widget could not be displayed.

Pull request is not a branch. It is the delta between the source and destination. You cannot create a build against that. I am afraid you will have to build the branch and rely on pull request code reviews to make sure the code is good to go!

Atleast that's what I have done so far. Would be interesting to see if there are other options or not.

This widget could not be displayed.

There is a jenkins plugin that does exactly this, it's a huge pity that bamboo doesn't do this out of the box. You can also make bamboo do it with some manual git calls.

For more details see the answers in

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,205 views 8 11
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you