You can access the following fields with predefined values in your ODT or DOCX template


FieldDescription
$issues

Contains all issues that satisfy given JQL criteria. Normally, your first line on the template should be

foreach ($issue in $issues)

This applies to both: a single issue snapshot and multiple issues snapshot

$issueLinkRenders an HTML link to your issue
$descriptionHTMLRenders current issue description as rich text
$commentHTMLRenders issue comment as rich text
$commentPlainRenders issue comment as plain text


In addition to the predefined variables above, you can use our Velocity Helpers as well as Snapshot Template helpers in your template file