This article will teach you how to print a list of files attached to an Issue and their descriptions.
Firstly, let's see our issue. We got these pictures with descriptions attached.
![]()
Let's use the following code for a Reporter template:
Issue ID: {{ issue.id }},<br>
Issue Subject: {{ issue.subject }}<br> <br>
{% for attach in issue.attachments %}
<b>Filename</b>: {{ attach.filename }};<br>
<b>Filesize</b>: {{ attach.filesize }} Bytes;<br>
<b>URL</b>: {{attach.url }};<br>
<b>Description</b>: {{ attach.description }}<br> <br>
{% endfor %}
![]()