I am trying to send an email based on the issue type. My issue types are EBS_ALERT and EBS_Request
This is what I am using -
['EBS_ALERT', 'EBS_Request'].contains(issue.issueType?.name)
and when I test with either issue type I can not get it to evaluate to True.
If I use this it will evaluate to true.
['Bug', 'Story'].contains(issue.issueType?.name)
Is it something with the underscores?