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

This widget could not be displayed.

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.

This widget could not be displayed.

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.

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

50 views 1 0
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