Categories
Mastering Development

How to get list of issues from a release (fix version) when capturing VersionReleaseEvent

I’m implementing a Jira Server plugin with a listener that captures every VersionReleaseEvent:

@EventListener
public void onVersionReleaseEvent(VersionReleaseEvent versionReleaseEvent) {
    log.info("#### onVersionReleaseEvent {}", versionReleaseEvent);
}

I need to know which issues are included in that versionRelease, but the VersionReleaseEvent class doesn’t include them. How can I access that information?

Leave a Reply

Your email address will not be published. Required fields are marked *