How to mirror a project in JIRA?

I need to mirror one project its isues, components, versions etc to a new project. what is the best way of doing it?

2 answers

1 accepted

Do you mean a one time copy? A scheduled copy/update? One way or both ways? Do you need to preserve issue id numbers? Is the mirrored project in the same JIRA instance.

JIRA Command Line Interface has some enablers for doing some of this using actions like cloneIssues , copyComponents , copyVersions .

CLI Plugin for JIRA may also have some enablers that would help.

Yes i mean it is a one time copy of entire project. Issue id number should preserve with the new project key. Can you please suggest a best way for doing that? I want to replicate the whole project along with issues, components, versions etc.

cloneProject will do most of what you want. It doesn't support keeping issue id numbers, but I have done that before using a CLI script and it could probably be added as an option - create an issue . Essentially it means creating and then deleting an issue to fill any holes in the sequence of issue id numbers.

0 votes

Script runner plugin has a Copy Project built-in script. You can probably use that.

https://studio.plugins.atlassian.com/wiki/display/GRV/Built-In+Scripts#Built-InScripts-CopyProject

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,864 views 12 18
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
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