I want to setup a ScriptRunner Listener that sends a custom email to certain people when '@ Data Export Control' is added in a Comment.
I have the email subject and template setup ok, but the 'Condition and Configuration' I can't get to work.
I currently have:-
"import com.atlassian.jira.event.comment.CommentEvent
CommentEvent == ("@Data Export Control")" I know there must be more to the code than this, and I can't seem to find anything online, can anybody help me with this please?
NB - I know how to do it using Jira Automation, but we have too many Automations already, degrading our system performance! Thanks.