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 vote

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 Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

759 views 2 19
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