I have a scheduled automation that returns the correct list of items. Is there a way now to filter that result for use in an email? Every time I try to do this I get the full list returned and not a filtered list. I'm trying to filter on the Labels field.
Code is below.
{{#issues}}
{{if (equals(issue.labels, "STAGING-APPROVAL"))}}
<ul style="background-color:AntiqueWhite;font-size:18px;">
<li><strong><a href="{{url}}">{{key}} - {{summary}}</a></strong>
<ul style="background-color:AntiqueWhite;font-size:18px;">
<strong><li>Description:</strong> {{description}}</li>
</ul>
</li>
</ul>
{{/}}