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

7 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 vote

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.

Hi Everyone,

after setingup new JIRA service on own server I'm unable to restore DB. There we no backups from JIRA made, only MySQL DB.

  1. Clean JIRA was installed
  2. ./bin/config.sh
    1. changed DB configuration
  3. starting JIRA
    1. first launch succesfull, everything is working (till next restart).
    2. putting JIRA license
    3. after JIRA restart getting 500 error (
      java.lang.RuntimeException: org.apache.jasper.JasperException: com.atlassian.extras.decoder.api.LicenseDecoderNotFoundException: Could not find any valid decoders in [com.atlassian.extras.decoder.v2.Version2LicenseDecoder@5a2a6697, com.atlassian.extras.decoder.v1.Version1LicenseDecoder@4d5979b4] for license string <>
  4. checking MySQL DB accordingly to suggested solution - data missing
  5. tried to make clean JIRA isntall, connect it to existing DB and making XML Backup from running instance and than restore it on clean installation - getting same error.

JIRA version is:

6.4.1

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Wednesday in Jira

Join our webinar: How 1B+ feature flag events helped us build the new Jira

Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...

102 views 0 2
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