Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

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

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.

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

?

 

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

 

 

 

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


Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

JSM June Challenge #2: Share how your business teams became ITSM rockstars

For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...

213 views 6 7
Read article

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