I'm wondering if it's possible to configure JIRA automatically from the command line? We're looking into using Docker in order to virtualize our test environment but the point is kind of lost if I have to manually configure each new instance. What I want is to skip the steps where I configure what database to use and so on and simply use the most simple default (HSQL, evaluation license etc). The data for the instance will then be loaded using our test cases so there is no need to create a first project either.
Community moderators have prevented the ability to post new answers.
What seems to have worked is to simply set up the instance on my local machine, then export the entire home directory to a ZIP. I did however need to do some manual work with dbconfig.xml since it has an absolute path do the database. This meant that I had to change <url> to point to the location of the HSQL DB on my docker instance (Which fortunately will stay the same across all installations)
@Richard Simko [RefinedWiki]
This earlier discussion might lead you to what you want - ways to disable tutorial mode in both JIRA and Confluence based on JVM startup parameters:
It's a good conversation at any rate. Takeaways:
-wc
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I read that answer but unfortunately that was only regarding the tutorial, not the actual setup of the JIRA instance. The tutorial doesn't seem to trigger for the first user created anyway (The master admin account) so that part is fine :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
(derp) damn, I didn't read your question well enough then. Sorry about that.
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.
Why not just do the basic setup once and then deploy that setup to the docker container once populated with the least amount of data and setup using stacker? https://github.com/cnf/stacker
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The problem is that I want to create a Dockerfile which I can re-use across several machines, instead of exporting an image, so I need something which can be done though the Dockerfile.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your quick reply. I also haven't found any plugin, that support the idea of an automated setup. Project Configurator, Configuration Management, CLI – they all step in after the installation is complete.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sadly no progress at all apart from having a set home directory which we install. Far from an ideal solution though but it works for now, I dread the day when we want to change the test data though
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you made progress on this topic and would you mind sharing some insights?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Community moderators have prevented the ability to post new answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.