How to catch the event license expired in Jira server?


I want to catch the event when license expired but somehow it couldn’t
I use class PluginLicenseExpiredEvent.

  public void onPluginLicenseExpiredEvent(PluginLicenseExpiredEvent event) {

But the event only fired when I add a license expired in the license box.

I want to catch an event license expired during the working.
Do you have any suggestion?

Thank you.,

1 Like