Forums

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

Conditional Execution For Two Variables (AND)

Jonathan Forrester July 16, 2019

I just wanted to see, if I create the variables with an AND in the middle.. Will it look for both to be true before executing? 

 

image.png

 

1 answer

1 accepted

0 votes
Answer accepted
David Fischer
Community Champion
July 23, 2019

Hi Jonathan,

the "and" must be inside the curly braces:

{{ issue.fields.issuetype.name == "Task" and issue.fields.customfield_10800.requestType.name == "HCTB Validation" }}

Jonathan Forrester July 23, 2019

That worked. Thank you for your help!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events