Cascading 2 conditions in "send a custom email" in custom script listener in JIRA

Tanu Ranjan Bharadwaj
Contributor
June 14, 2019

Hello,

How can I cascade 2 conditions ( issue.issueType.name == 'Prod Defect'  and issue.Status.name == 'Open' ) which I am using in the Condition and Configuration of 'send a custom email' in Script Listener ?

Currently, I used " & & " but it is throwing an error.

 

Thanks in advance.

 

Best Regards,

Tanu Ranjan Bharadwaj

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
Ilya Turov
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 14, 2019

@Tanu Ranjan Bharadwaj

hello, if you provided the error you are getting it would be easier to solve, but im sure using && is correct.

also in second condition you should type "status" with lowercase s. i feel like thats your case

TAGS
AUG Leaders

Atlassian Community Events