Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

I'm trying to use an if condition within email automation

SOC Service Desk April 22, 2021

I have many attachments in each issue but only wanted to show the notification.jpg attachment.

Here is my code but it does not seem to work:

{{#issue.attachment}}
{{#if (filename=="notification.jpg") }}
<li><a href="{{content}}">{{filename}}</a></li>
{{/}}
{{/issue.attachment}}

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events