In Which database table JIRA License Key will store?

Hi,

I got a problem while searching the database tables to find the table that contains the JIRA License Key. Any body help me in which table it will store

Thanks in advanse

6 answers

1 accepted

9 votes

Hi Nageswarara,

You can find the license stored in the propertytext table.

Try running the following to find it.

select * from propertytext where id = (select id from propertyentry where property_key = 'License20')

Hope this helps,

Marcus

1 votes

Hello Natalie,


This query should give you the add-ons license you have:

SELECT * FROM public.propertyentry pe JOIN public.propertytext pt on pe.id=pt.id
WHERE pe.property_key like 'com.atlassian.upm.license%';

 

If you go to JIRA and compare the returned keys you should be able to identify what is the propery key for the specific plugin you want which in this case (Service Desk) is:

com.atlassian.upm.license.internal.impl.PluginSettingsPluginLicenseR339b1704e923b2280c224738f2d48ceb



To understand the above I had to enable the SQL logs and change the license.
To enable the SQL logs: https://confluence.atlassian.com/display/JIRAKB/Enabling+detailed+SQL+logging+in+JIRA

I hope it helps.

hello everybody

i want to create a nagios script that checks the license expiration date, somebody knows in which table could i find it?

+1

We also want to  checks the license expiration date,

Is it possible to find which table are stored those value?

Thank you!

It's not.  It's calculated from the key.

Is there a way to get the license of add-ons like JIRA Agile or JIRA Service Desk by querying the database?

Please help in searching the database tables to find the table that contains the Confluence License Key and confluence plug-in License Key.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,755 views 11 18
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot