Hi, i have a jira server plugin and i want to publish it to atlassian marketplace, so the question is what is the best way to disable all or some plugin functionality, with invalid or expired licence, without inserting this kind of check everywhere
PluginLicense license = pluginLicenseManager.getLicense().get(); if(!license.isValid()){ HERE YOUR FUNCTIONALITY }