How to browse through references inside the template

Reference in templates is created using the format:


Where ${contextPath} is the context (variable already assigned), and $(template) –name of the template (already stored in the variable template).

For displaying the list of subtasks of the current task, filtered by the filter with the name ${filter}:


For reference of attachment  ${attachment} to the current task:


And the attached image can be previewed in the following manner:

<img align="middle" border="0"