Dear Community.
Need your help/guidance pls.
I am using custom email post function with a condition configuration as below.
Hi @Manoj Try to apply this condition :-
(issue.issueType.name == 'Bug' || issue.issueType.name == 'Story') && (issue.priority?.name == 'Major'|| issue.priority?.name == 'Minor')
@Vikrant Yadav Thanks for replying back, i replaced my written script with your shared one (replacing priorities) but at the bottom when i checked preview i got to see
Condition evaluated to false (note that for listeners the condition can't normally be tested) does that means my script is not true and email trigger will not happen?
This is mine
pls suggest.
Hi @Manoj Are you using Script runner "Send Custom email post function" or you are using some other custom email post function plugin ?
You can test the script by performing action on the issue. In Post function, you can't test script condition, you can only check preview of email.
@Vikrant Yadav Hi,
I am suing Script runner "Send Custom email post function" and yes i can see the preview but while performing action, i mean when i create a ticket with set condition it does not trigger any email.
@Manoj if you are applying this post function on create transition, then move it below "Creates the issue originally" post function.
All conditions ( issue and priority) meet when creating an issue ?
It looks like you're new here. Sign in or register to get started.