Bamboo OnDemand Trigger against BitBucket


I am trying to get Bamboo to run whenever I commit code to my BitBucket repository. However, the trigger does not appear to be working. I setup a trigger in Bamboo Ondemand, and can successfully run a build manually. I also setuo the Bamboo service in BitBucket. However, committing code to BitBucket does not seem to do anything. Many resources I've found refer to hosted Bamboo, so I'm not certain if my desired setup is even possible.

Any help would be most appreciated.


2 answers

1 accepted

0 votes
Accepted answer

This turned out to my issue. When entering the information for the Bamboo service in BitBucket, I entered my BitBucket Username, not my BamBoo OnDemand Username. Once the login information was correct, everything worked just fine...

Can you elaborate on where in Bitbucket you enter Bamboo credentials? I don't recall seeing that anywhere?

When you are in a repository on BitBucket, click on the "Gear" icon in the upper right (or type 'r' followed by 'a'). Then you will see the Admin page. On the left you will see links, one of which says "Services." Click on Services and you will see the Services page, as shown in the last of my screenshots above. Enter the Bamboo credentials, plan and URL as shown.

Thanks, I hadn't looked into the Services settings.

Just so I follow you right (since I'm having the same issue as posed in your original question), I need to configure Bitbucket to be aware of my Bamboo OnDemand instance in addition to configuring my Bamboo plan to point at Bitbucket in order to get my triggers to work properly?


Yes, having both things in place appears to get it done, especially when you set up a trigger to automatically build on a commit.

Thanks, I guess we've been spoiled with the existing OnDemand suite, I'm used to only having to look in one place (Bamboo plan config screens) to set up everything. (And it is somewhat confusing when "Bitbucket" is listed right in the source repository menu in the plan configuration and when the "triggers" screen makes no mention of the need to explicitly configure the Bamboo service within Bitbucket)

Hopefully someday Bitbucket will become a little more integrated into the OnDemand suite of tools...

0 votes

Without furher information it's hard to tell what's going wrong, but while investigating I have found a bug the Bamboo service that could be what is affecting you.

I've deployed a fix for this. If this does not address the issue for you, please email us at and we can investigate further.

Sorry for the lack of information, but thanks for looking into this for me. I can tell you that:

  • I can see the latest commit in BitBucket when I add a test file to my project
  • I previously added a new POST service to the repository and I see a post at when I commited code (just a test file), before and after your change.

It seems that BitBucket is sending information, but Bamboo wasn't getting notified. My Bamboo instance was (and still is) up and running, having been started manually, but no build runs aftger a commit. I added various screenshots so you can see how things are set:

Can you report to support the details of your OnDemand instance, the build plan and which repo this is on? We can look into the issue deeper from there.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 10 hours ago in Confluence Cloud

Happy holidays from our team to yours!

Hi Community!  2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...

88 views 0 12
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