I have around 900 projects in jira.So took the xml back up and uploaded in a test jira instance.So is it possible to delete all the issues from the db of this test jira and take back up of the reamaing two.I can use delete/update command in db to delete the unwanted issues of projects in test jira db.Please help
Good catch, I forgot about the SOAP interface. There is one flaw though, it is deprecated, so it will disappear as noted by the url below, you must be ready to rewrite your script in the future.
Nic's answer is the safer approach of using the UI. Maybe using a web page testing tool could be used to script things up.
Deleting issues from a Jira database is complex and painful, you have to hit a dozen tables and use all sorts of foreign keys and lookups. You need to go for jiraissue, jiraaction, nodeassociation, customfieldvalue, worklogs, changeitem and changegroup at the very least, and I know I've not listed them all here.
I'd do this by deleting the projects you don't want in the UI. Or think about getting the basic config right in an empty Jira and then just import the projects you need.
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
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot