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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,560,083
Community Members
 
Community Events
185
Community Groups

How to Customize the deployment email notification

Hi,

I want to customize the deployment email notification, I know WEB-INF\classes\notification-templates but there is nothing related to the deploy mails, I found in one of the questions a file located in /opt/atlassian-bamboo-6.5.0/atlassian-bamboo/WEB-INF/lib/atlassian-bamboo-deployments-6.5. 0.jar and this has com / atlassian / bamboo / deployments / notification-templates / deploymentFinishedHtmlEmail.ftl but I can not find it on the server, what is the way to edit the mail notification model?

 

1 answer

1 vote
rsperafico
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Sep 27, 2018

Hi @Wallys Alexander Morales Gonzalez,

Deployment notification are within a JAR and not in the same way as build notification. With that said, you could do the changes by:

  • extracting the template from JAR
  • do the changes in FTL
  • place the template back to the JAR
  • restart Bamboo server

This may not result in what you expect as the customization you are looking for may not offer the object passed from controller to view, in other others from Java to FTL. With that said, perhaps you should consider building your own notification plugin (https://developer.atlassian.com/server/bamboo/building-a-notification-plugin/)

Hope the above helps.

Kind regards,

Rafael

Hi I am facing the same issues here. I have the ftl file available in my server path - / atlassian / bamboo / deployments / notification-templates / deploymentFinishedHtmlEmail.ftl

But after making some changes in the code done with the restart nothing changes. Still same. could someone help on this. Its quite urgent.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events