The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Use of conditional logic in project automation emails

cek71662
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!
June 23, 2022

I'm trying to use conditional logic in an email automation task. No matter what variation I try, I cannot get the #if statement to evaluate to true. I have tried several:

{{#if( true)}} is true {{/}}
{{#if( equals(5, 5 ))}} is true {{/}}
{{if( equals(5, 5 ), "is true")}}

 I have also tried this on several conditions from the JSON I am using that I know evaluate to true, but since none of those worked, I tried reducing to the simplified versions above. No errors are thrown when I run the rule, it just always seems to evaluate to false. 

Is there something I'm missing here?

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

TAGS
AUG Leaders

Atlassian Community Events