Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

SOC Service Desk
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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