Private bitbucket repo push should trigger Bamboo build

I've set up a Bamboo hook on my private Bitbucket repo. But, no matter my pushes to bitbucket, it never triggers a build.

What settings should I change and how?

8 answers

1 accepted

I've managed to get this working, just the Bitbucket IP addresses I've found were wrong. The correct IP addresses to allow the trigger are

  • 131.103.20.165
  • 131.103.20.166

(these come from an Atlassian Support answer, and they work fine now)

For others finding this request, these IP addresses are noted in our documentation. We keep it up to date when IPs change.

A small note. The affected bitbucket branches are set up under Bamboo, and I can build them fine with a daily build "trigger" or manually, just not automatically after a git push.

We are seeeing the same problem with Jenkins hooks. We have several projects in bitbucket with jenkins hooks in place that have been working for months and recently builds are no longer being triggered by commits.

EDIT: We've found an issue with the Jenkins broker and are deploying a fix now. For other issues, please come to support as each Hook works differently.

Previous reply: We haven't made any changes to our Hooks nor have we had any specific reports other than this particular post. Please come to support with the specific details and we'll give you both a hand.

The Jenkins hook has been fixed.

We're seeing the same problem. We have the hosted version of Bamboo and I've set up a Bamboo hook in my bitbucket repo, following all the steps in the documentation and it is not working. My username/pass/url/planKey are all correct.

However, when I create a POST hook configured to post to a URL with the following format, it works and I see builds triggered after commits:

https://[hostedAccountName].atlassian.net/builds/updateAndBuild.action?buildKey=[planKey]


Of course, this doesn't allow me to use any of the "advanced trigger options." Also, when I setup a Jenkins hook, it works just fine. You would think that hooks for bamboo would work seamlessly.

Is there at least some way to test Bamboo hooks on Hosted instances? If I could just see the logs for the attempted hook, I could probably fix the problem.

For Bamboo hook issues, please come to support and report the specific details so we can look. Once we know the issue, we'll update this post with the correct answer.

I am seeing a similar problem. Bitbucket is not triggering builds in Bamboo on push. If Bamboo polls Bitbucket it works fine. I entered the IP addresses above (and 131.103.20.168) but still no joy.

I will raise this with support but wanted to post here in case other people experienced the same problem.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,782 views 0 6
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