Is it possible to fire events for jira issues from code?

Is it possible to fire jira issue events from code? I have a use-case for firing “Work Started On” issue event. I’ve tried to use IssueEventManager but I didn’t have any success in using the deprecated methods (nor do I want to use deprecated methods) but everything else accepts a IssueEventBundle and the IssueEventBundleFactory doesn’t appear to be public API so I’m not sure it’s possible to use it.

Anybody know anything on this topic?

EventPublisher should do the trick.