How automate the configuration of Jira Edited

Hi,

 

I was wondering that if it is possible to automate the configuration of Jira (server version) after the installation.

 

The automation should cover the database, admin creation, and also extra plugin installation.

 

I have used the docker to create an image with some of my preference. Based on this image, I would like to build another image.

 

Many thanks.

2 answers

This widget could not be displayed.

You can automate entire jira installation using reponse.var file. refer this https://confluence.atlassian.com/adminjiraserver071/unattended-installation-855475683.html

For later part, you can use some shell scripting to add/modify dbconfig.xml by providing appropriate parameters. If you already have backup on the database, it will definitely has admin user. If its clean database, in that you may add a admin user by SQL command. (I am not sure about this part if this is advisable, but surely you should be able to add user).

Same way you can modify other files as well like serene.sh, server.xml etc...

Everything you can accommodate in a shell script including restart in the end to take effect of all changes.

This widget could not be displayed.

For later part, you can use some shell scripting to add/modify dbconfig.xml by providing appropriate parameters

I have a dbconfig.xml and copy this one to the correct location in "/var/atlassian/application-data/jira/". With this, I assume that the Jira will recognise the database configuration, but it still ask me the DB configuration when accessing the web portal.

 

In addition, does some one know how to deal with the license for server version?

 

Many thanks.

Did you try ./stop-jira.sh and ./start-jira.sh commands after copying dbconfig.xml file?

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

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