Detecting sprint close in a JIRA plugin

Hi all,

is there a way to detect a sprint close in a JIRA plugin? I’ve used a webhook for this before, but from my plugin using JWT authentication, I am unable to access the webhook REST API.

Is there another way to get a callback once a sprint is closed?

Thanks,
Martin