How it works...
Jira's email templates use the Apache Velocity (http://velocity.apache.org) template language to display dynamic data. Each template is a mix of static text (with or without HTML markups) and some Velocity code. If you do not need to have dynamic contents, then you can only have static text in your templates.
In our previous examples, every time you see the dollar sign ($), such as in the phrase $issue.key, it is a piece of Velocity code. The $ sign is an instruction to get a variable from the Velocity context, and the variable name is the word that comes directly after the $ sign so, in this case, it is issue. The period character (.) is an instruction to get the specified value from the variable. So, $issue.key can be read ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access