How can I reset Jira back to default, post install, configuration?

I am evaluating JIRA and would like to reset it back to its post install state.  That being, remove all tickets, users, projects, any custom config.  Basically how it would be right after install and before logging in the first time.  

I am using the build in hql db.  I think I can just delete the application-data directory content but not sure.

1 answer

1 accepted

1 votes

I usually just spin up a new one starting from an empty database and empty home directory.  The installers nowadays actually make that easier than trying to work out the handful of files you need to preserve if you want to keep the minimal configs to have it run and re-initalise itself.

Pedro Cora Atlassian Team Oct 12, 2015

One tip. Generate an XML Backup as soon as you have finished the setup. This will make easier to restore it to an initial stage if you want in the future.

I'd +1 that if I could. I do tend to do that as well. But I've a dreadful memory, and the few times I actually need the backups, I forget to take them. Another related option is to create another very temporary empty install, back that up and restore it into your target and delete all the attachments in the target - does the job except for the licencing.

Thanks for the info. I ended up just deleting the h2db.mv.db in the databases directory. After stopping then starting Jira it is now back to default. I also created a backup this time so I can easily reset it again. I did have to get new trial licenses for everything but no big deal. Also, doing this maintained the plugins I had so that was a nice bonus.

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

277 views 0 12
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot