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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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
Posted in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

4,576 views 12 8
Join discussion

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