We want to send emails based on the below JQL query condition from the Script Listeners.
project = test AND Status != Closed AND Country = "UK"
Country is an single select list.
Thanks in Advance,
have you already checked the documentation for Script Runner?
To my knowledge there is no ready solution - your requirement can be met using Script Runner but it needs some development and testing.
A direct sending of mails is probably not the best approach but you can go with Event > Notification Scheme also to dispatch a mail to the desired recipients.
I have seen that there are some alternative solutions in discussion:
This is a more easy implementation. Having the appropriate JQL query ready you can use a Filter Subscription to get a mail if the query matches. It will list all matching issues.
Here is some more information about it:
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event