Hello,
I've been trying to set up a listener, which would send e-mail notification to a watcher when he is added to an issue (kind of like request participant notification for customers).
I have tried 2 listeners:
- Send a custom mail
- Fires an event when condition is true
In both cases: When I leave the condition blank, the listener won't run. When I add a condition for a project key, it runs and then shows this:
Cannot cast object 'com.atlassian.jira.event.issue.IssueWatcherAddedEvent@cc2c2bfd' with class 'com.atlassian.jira.event.issue.IssueWatcherAddedEvent' to class 'com.atlassian.jira.event.issue.IssueEvent'