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

Next challenges

Recent achievements

Recognition

  • Give kudos
  • My kudos

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Email notifications for build plan with specs-yaml Edited

I've gotten email notifications to work in a yaml-spec deployment and according to the spec-yaml reference here

it seems possible to also do it from a yaml-specced build plan. However, there are no examples of that in the reference so the exact way of doing that eludes me. I have tried the same syntax bit (with "plan-finished" event):

notifications:
- events:
- deployment-finished
recipients:
- emails:
- m@j.com

in different places in the plan yaml document, but cannot find the right place for it. Validation error message is:

Document structure is incorrect: Found following unused properties: notifications

Anyone tried and succeeded with this?

While I'm on the subject: is there a list of yaml-names for the different plan events that can trigger notifications? I guess I could trial and error it from converting non-yaml plans to java specs and hope that the java classes are actually named like the events, but... :)

1 answer

1 accepted

0 votes
Answer accepted

Hi @matgry

The absence of examples happens because there is no implementation for plan notifications at the moment. I was able to talk to one of our developers and this feature was postponed due to possible design conflicts with other feature that is still in course of conclusion. That is the reason we have notifications for deployment but not for plans.

We have a feature request tracking the interest of users in this feature to help us prioritize its implementation. This is the one:

I encourage you to vote on it to help us track your interest in this feature. Unfortunately, I don't have a workaround for this. What you could try is using a script task to send mails with the mutt command, but you will face issues to send them when the build fails.

I hope this information helps you to move forward somehow.

Ah. Did not see the JIRA issue. Voted.

In the meantime, it would be nice to have the yaml documentation reflect the state of affairs. Presently, one could be forgiven for thinking that there is support for plan notifications in yaml:

https://docs.atlassian.com/bamboo-specs-docs/6.9.0/specs.html?yaml#notifications said:

"Notifications in Bamboo are triggered by a range of events involving a plan and its jobs, including build completion, build outcomes and comments being posted against build results. You can configure whether notifications are sent for a particular event for each plan and job, and who they are sent to".

 

Thanks,

Mattias

Like Daniel Santos likes this

Hi @matgry

Thank you so much for the feedback. I'll open another ticket to request this update in our docs.

Hi @matgry

This is the one:

Let me know if you need anything else in this matter.

Like matgry likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

673 views 1 6
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you