Hi,
I looking for way to get days to maintenance expiry in Jira Software with Script Runner. I found getDaysToMaintenanceExpiry() method in com.atlassian.jira.license.LicenseDetails but when I try return days i only get error.
No signature of method: static com.atlassian.jira.license.LicenseDetails.getDaysToMaintenanceExpiry() is applicable for argument types: () values: []
Anyone try to do this with Java API?
Hello Tomasz,
I reviewed your question and tested and confirmed we’re getting the same result. The class you’re calling only has 2 nested classes, which are the static classes. You may find more about the classes for LicenseDetails at com.atlassian.jira.license.LicenseDetails.
I am still attempting to find out how to access further license details via the Java API. Please allow me some time to find a way to access the following:
getDaysToLicenseExpiry()
getDaysToMaintenanceExpiry()
Regards,
Stephen Sifers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.