How to customize the share issue email template?

Hi everybody,

i'm trying to customize the share issue email template. In my case i would like to add the issue description in the email.

I have found a related post

https://answers.atlassian.com/questions/53963/jira-5-share-issue-email-template

and a raised Jira issue

https://jira.atlassian.com/browse/JRA-26821

i have modified the templates but i haven't seen any difference.

Any ideas?

Thanx in advance

Kostas

3 answers

1 accepted

1 vote

For a bundled plugin, you need to make changes inside the zip file under WEB-INF/classes folder or else the changes will be overwritten at restart. Are you doing that?

See http://www.j-tricks.com/1/post/2012/05/modifying-atlassian-bundled-plugins.html

Thanx for the help. I have a small issue with the field. I want to display the description of the issue. I have added the following line in the template:

#parse("templates/email/html/includes/fields/description.vm")

But in the email body i have the following:

Description: $issue.htmlDescription

Do i miss something or i haven't declared something in the template?

Cheers

Hello,

i am stuck at exactly the same point. Did you find any solution for parsing the htmlDescription in the email template?

Regards,

Markus

Hey Mark,

you have to edit the email templates in jira-share-plugin-6.x.x.jar.

I have tested and it works.

Finally i didn't use the customized templates so i do not know what's going to happen in case of plugin updates or jira upgrades. It's possible in that cases that you have to edit the templates.

1 vote

The advice on the issue you've raised seems correct to me - you need to pull apart the plugin, change the templates, rebuild it, reinstall it and restart Jira - did you do all of that?

The steps i have followed are the ones you have described above.

I have done many tests but the template remains the same.

Everytime that i do a restart of the application, the changes in the templates are lost. Templates are going back to the initial form they had before changes. Any idea how to prevent that?

Cheers,

Kostas

Er, that sounds very wrong. You should stop the application, put your changes in and then restart it. Do you mean that all works the first time, but it reverts the next time you restart? Have you taken the plugin apart and rebuilt it correctly? Tried removing the old one completely and making sure there are no copies anywhere?

Hey,

i suppose i build the plugin correctly.

It doesnt works at all. After each restart the my changes do not exist in the jar file.

I believe that i'm missing something when removing the plugin.

Hi,

Can I make a hyperlink to email template (outlook) from jira issue? For example all the fields are flled just I should add the name and send.

thanks,

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 ...

3,231 views 14 19
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