I have an email report consisting of issues resulting from a JQL query.
I'm being asked to separate this list by status into different tables in the email.
I'm wondering if there is a way to apply some form of conditions to the issues loop to restrict to a specific status and then do that as many times as needed to get the separated status tables.
the loop right now is basic as shown below. But can I somehow restrict each loop to a specific status?
{{#issues}}
<tr style="border: 1px solid black;">
<td style="border: 1px solid black; padding:5px 10px 5px 5px; "><a href="{{toURL}}">{{key}}-{{Summary}} </a></td>
<td style="border: 1px solid black; padding:5px 10px 5px 5px; ">{{status.name}}</td>
<td style="border: 1px solid black; padding:5px 10px 5px 5px; ">{{assignee.name}}</td>
<td style="border: 1px solid black; padding:5px 10px 5px 5px; ">{{updated.format("yyyy-MM-dd")}}</td>
</td>
</tr>
{{/}}
</table> Any help or suggestions would be appreciated.
Thanks in advance,
Greg