I need to mirror one project its isues, components, versions etc to a new project. what is the best way of doing it?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.