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
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
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,
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?
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
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,
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.
It looks like you're new here. Sign in or register to get started.