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
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
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

84 views 0 5
Read article

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