Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to get JIRA license Information?

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!

1 answer

1 accepted

2 votes
Answer accepted

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

Thank You! @Niranjan  @Carlos Garcia Navarro  

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you