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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Is there a way to insert or update a Jira licence with Ansible?

Can I in some way insert a JIRA licence with Ansible when i install or upgrade Jira?

1 answer

0 votes
TtheB Rising Star Mar 10, 2016

Take a look at

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.

TtheB Rising Star Mar 14, 2016

sorry, I was in Confluence-Mode - updated my answer above

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



TtheB Rising Star Mar 14, 2016

Here is your license:

select propertyvalue from propertytext where ID in (select id from propertyentry where property_key = 'License20');

as stated 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):

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

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events