Modifying of an email notifications' content using a plugin

Is it possible to modify the content of an email notification using a system-2 plugin and without modifying of the default email templates?

Maybe there are some plugin modules to achieve this?

For example, I need to change the email subject depending on the recipient user. At this moment, there were made a nubmer of modifications in default templates to implement this feature. Is there any other ways?

1 answer

0 votes
Pedro Cora Atlassian Team Oct 13, 2013

While you can make this with a plugin, you will need to also create your own velocity templates. Or make some heavy changes in the current ones to be used with the plugin.

Yes, I know this. As I mentioned before, I have a solution with the modified default templates, but I want to improve it.

As far as I understood from the source code, there is only one xml-file where mailing templates are defined. Did I miss something? Is it possible to switch the velocity template manager from the default templates to the plugin-provided ones without modifying of default templates or xml-files?

If you dont want to write or keep maintaining something to do this, JEMH provides template customization support, you can create a custom template in the UI without lower level file changes, the integrated editor allows you to edit the templates as needed. You could also paste existing text/html templates into JEMH Issue Event Template Sets also.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,965 views 12 18
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot