You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Can I in some way insert a JIRA licence with Ansible when i install or upgrade Jira?
Take a look at https://answers.atlassian.com/questions/158813
You could parse dbconfig.xml for the connection url, user/password and update the license key in the database. I am sure this can be done with a sql-file and task in Ansible.
Sorry. My problem is JIRA not confluence an even so, automated install, which is my goal, is not helped by this.
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.
Well no.
No, I found that there esist a table "productlicense" where the licence ends up.
I have no idea how to use it.
id , licence
?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here is your license:
select propertyvalue from propertytext where ID in (select id from propertyentry where property_key = 'License20');
as stated in https://answers.atlassian.com/questions/158813
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Actually, for those of us who landed on this page but have JIRA 8.0+, the licence is indeed in the "productlicense" table, as stated here (changed since 7.0.5 and above):
https://confluence.atlassian.com/jirakb/manage-jira-server-license-using-database-queries-441746313.html
But I also have no clue yet what ID from the "productlicense" table is referencing, as it does not look like it references "propertyentry" table. The above link is not helpful about the ID column at the moment.
I had three rows and this is the ID to Application mapping that worked for me on my server:
10300 -> JIRA Core
10301 -> JIRA Service Desk
10302 -> JIRA Software
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.