Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

How to send customized mails

How to send customized mails from task configuration

1 answer

0 votes

Hi Monica,

If your intention is to modify the content of your Bamboo notifications that sends email updates upon build success/failure, you can do so for each of the notification types as below.

The notification templates reside in WEB-INF/classes/notification-templates/

All you need to do is to copy the respective notification template into the {BAMBOO_HOME}/templates/notification-templates folder and make changes to them accordingly.

This is explained in this page.

If you wanted to send emails from a script task within your plan, you can do so with the respective mail agent like below:

echo "Subject: sendmail test" | sendmail -v user@email.com

 

Hi Jeyanthan,

Is there any possible way to change the predefined events which appears under Add notification option?

Other one is, I have tried the inline script task method but no luck. How to configure sendmail and the smtp server for this.

Jeyanthan I Atlassian Team Jul 19, 2018

Hi Monica,

Is there any possible way to change the predefined events which appears under Add notification option?

You can only use the notification options available in your plan configuration  explained here.

Other one is, I have tried the inline script task method but no luck. How to configure sendmail and the smtp server for this.

Configuring sendmail can be found on their documentation. Googling it for your operating system should give you more practical steps on how to set this up.

Once configured, you may test it outside Bamboo via command prompt and then use the same using a script task within your plan.

Hi Jeyanthan,

Thanks for your answer. I have another doubt of adding cc for mail notifications. Is there any possible way to add cc recipient for the mail notification. 

Jeyanthan I Atlassian Team Jul 24, 2018

Hi Monica,

There is no option to CC someone in a notification. You may have to add this user manually to the Notifications section in the respective Plan configuration, so that they are notified on the events you have configured.

Thanks for your suggestions Jeyanthan

Hi Jeyanthan,

We couldn't able to send mails to external DLs. How this can be done. Provide some input on this as well.

 

 

Thanks,

A.Monica

Jeyanthan I Atlassian Team Aug 01, 2018

Hi Monica, You may have to contact your system administrators for this.

Suggest an answer

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

Bamboo 101 Video

G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...

190 views 4 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