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.
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.
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.
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 ...
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!
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
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot