Can you define and use Webhooks within YAML Bamboo Specs?

Ryan Lafko March 14, 2023

Good afternoon,

I'm looking for more details on sending notifications for builds or deploys to a webhook that has been defined in the Webhook Templates area from a Bamboo Specification.

For example, I notify a specific support team via email on a build failure like so:

- events:
  - plan-failed
- emails:

I'm looking to make use of our Webhooks defined as such:

- events:
  - plan-failed
- webhook:
    name: Build Webhook Template

When i added this second sample into my Bamboo Spec and ran it through the Bamboo Spec YAML validator, it passed validation. Does that mean this should function as I'm expecting? Is defining webhooks in Bamboo Spec YAML supported?

I'm mostly asking this question because I could not find it documented anywhere in the Bamboo Specification Reference and would like to confirm this functionality as an option for notifications.

Thank you

1 answer

1 accepted

3 votes
Answer accepted
Ryan Lafko March 14, 2023

I found that I was looking at the wrong version of the Bamboo Specification Reference. I was looking at version 6.2.3 from a google search and found newer versions here:

Looking at the newest version that my team is on, version 8.2.4, I found that webhooks are defined there as well as an option for notifications.

Mia Paulin April 28, 2023

@Ryan Lafko   Let me do some research about the situation and I'll see what I can do.  I will get back to you.  Sorry that I couldn't help more that I am.

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events