Hi community,I want to verify that "JIRA license is expired or not" through my plugin. My plugin is written in JAVA. so what will be the approach for that?Thank you!
Hi @Jeet Patel - A simple option to get this info using the restapi - https://<Your JIRA URL>/rest/plugins/applications/1.0/installed/jira-software/license . This will return a JSON output, which can be parsed to get "expiryDateString".
The method getLicenseDetails(String licenseString, I18nHelper i18nHelper) may work - JAVA API
Kindly refer the link below for JAVA API related methods
https://docs.atlassian.com/software/jira/docs/api/8.13.3/com/atlassian/jira/bc/license/JiraLicenseService.html
More details: https://confluence.atlassian.com/jirakb/how-to-retrieve-application-license-details-or-set-the-license-via-private-rest-api-in-jira-7+-934728265.html
Thank You! @Niranjan @Carlos Garcia Navarro
It looks like you're new here. Sign in or register to get started.