I have an instance of Jira 4.4.3 with a large number of issues of type "user story". Each user story has a large number of subtasks of type "test case". I need to move all of the test cases to a new issue type that's not a subtask. The problem is that I need to maintain the link from the test case to it's former parent user story. Moving the issues isn't a big problem, but retaining the link back to the parent is difficult. There's no JQL function for getting the parent of a given subtask. I'm dealing with about 3000 test cases and a few hundred user stories, so creating the links manually is a nightmare scenario.
I've tried several approaches. So far my best idea is to write a chunk of Java code that will:
I'm hesitant to start coding because I've never tried writing a java app that will make bulk changes to my Jira instance and the prospect of making a mistake and hosing 3000+ issues is daunting. Is there an easier and/or safer way to do this?
Use the linkIssue action from JIRA Command Line Interface on each of the user story issues to add a link to the issue's parent. Use the runFromSql action with a query that gets each of the issues you need.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.