&& is the format for AND
|| for OR
! for NOT
So (ConditionA && ConditionB) || !ConditionC
Can be read as (Condition A and Condition B) OR NOT ConditionC
My condition is actually not working. I can get the email to fire if I only have
issue.priority?.name == '0 - (P1) Emergency'
but not when I add
&& issue.components == 'Message Wait'
Thoughts?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Okay, it looks like the && is working now. Sorry, I was getting errors and did not realize that is was the name for component that was creating the error. Here is my condition and it is working now.
issue.priority?.name == '0 - (P1) Emergency' && issue.components == 'Message Wait'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.