I haven't looked at JIRA 5.2 source, but that's good to know.
For previous versions, I just ended up creating my own custom event. Added the 'watcher' event to the JIRAEVENTTYPE table and dispatched it with the standard IssueEventManager#dispatchEvent. And finally, cobbled up an appropriate EventListener (again standard fare in JIRA) to intercept the events.
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot