Email This Issue
Email This Issue - for Jira Server/Data Center
Search
K
Links

Rendering templates within templates

SINCE 7.1.0.5
No more duplicate template fragments, Email This Issue now can render templates within templates in a very simple way.
To include a template by its name, add this to your template:
#renderTemplate("MySignatureTemplate")
To include a template by its ID, add this to your template:
#renderTemplate(123)
Recursive inclusion of templates are handled and prevented.
Note: Velocity variables declared in the templates as #set($variable=...) will only be usable in the template that declares them. Variables are not visible outside their declaring template.