How can I check the lifecycle state (installed, enabled, disabled, uninstalled) of my add-on in Jira?
I have some background processes that should only execute for add-on instances that are enabled. In a perfect world, the lifecycle callbacks would be perfectly reliable; but we’ve seen that’s not the case. Service outages mean that some lifecycle callbacks get missed, and our records of lifecycle state become out-of-sync with Jira itself. I’d like to be able to periodically check whether the add-on is enabled in the relevant Jira instance. Do you know how I can do that?