Selectively moving bugs from one Jira instance to another

Hi all. We're in the process of starting from a "clean slate" on new instance of Jira. When the new instance goes live, we need to selectively move bugs from the old instance to the new one. Are there any recommendations on the best way to do this? I don't want to move an entire project as the project strucutre is on of the things that's being majorily overhauled. One thing I was thinking is temporarily moving a project over, move the selected bugs to the new instance, and then deleting the imported project. What do you all think?

Thanks!!

4 answers

0 vote
Daryl Chuah Atlassian Team Jan 30, 2013

Hi Fender

Yes you can do that too. Basically, import the project, then moved the issue into the new project. After all the issues being move, you can just delete the entire the temporary project.

Cheers

I would say, it depends on how complex your move is and what your requirements are. If it isn't too complex, you could do something like:

1. Restore your instance over to your new home via xml.

2. Create a new project.

3. Create a JQL filter that selects out your "to Move" set. (or label every ticket you want to move, and use a jql filter to find that. Or do any number of things to "select" your set).

4. Bulk move.

Problems with the above:

1. It can ballon out to a lot of work depending on what your criterion for "movement" are.

2. Issue keys and project keys will change.

----

If you need to retain issue keys and all the same names and such, I'd look into doing something like using a db query to "select" the issue keys that you didn't want (the inverse of the ones you did want), and using the remote api to remove those issues in a test instance. This could take a really long time depending on how much junk you had.

----

TLDR: it really really depends on the situation, the criterion, and the end you wish to achieve.

Thanks, guys. Let me ask you this: if I export a query from the old instance as XML, is there anyway to import that to the new instance? Or can you only import an entire project?

AFAIK, that won't actually be useful to getting it "into" another instance of JIRA. The xml export you're talking about is just for providing information to possible consumers of the report: eg. you're feeding it to another system that you implemented or something.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Wednesday in Jira

Join our webinar: How 1B+ feature flag events helped us build the new Jira

Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...

136 views 0 3
Join discussion

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