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 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
Answer accepted

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
nic Community Leader Nov 26, 2012

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

nic Community Leader Jan 13, 2013

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 Sign up to answer
Community showcase
Posted in Jira

Calling all Jira Cloud users! Give us feedback on our exploration of a new navigation.

Hi everyone! My name’s Matt and I’m a product manager at Atlassian. I work in the navigation & findability space for all our Jira Cloud products. We’ve been working on trying to improve the exp...

1,051 views 16 12
Join discussion

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