The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to use CLI to clone a project from JIRA Test to JIRA Prod.

Michael Furey
August 5, 2021

I created a new project on our JIRA test server and now I need to migrate it with everything to our production JIRA. I can see how to use CLI to clone a project on the SAME server but don't see a parameter to specify a different server url. I could export it/import if that's possible. Don't need any of the test issues and the few users are active in both. If I should pursue another approach (ScriptRunner?) I am open to anything. Any direction is greatly appreciated!

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Michael Kuhl {Appfire}
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
August 5, 2021

Hi @Michael Furey  - You could use the run, and create type actions for projects such as using runFromComponentList to add components from the test to the production instance.  

acli -a runFromComponentList --server testJira --common "-a addComponent --component @component@ --project @project@ --server prodJira"

You might want to look at Configuration Manager for Jira.  It's built for copying project configurations from one instance to another.

Michael Furey
August 9, 2021

Thanks so much Michael for  your quick reply! I am going to give it a try.

Michael Furey
August 9, 2021

Was also looking at Deep Clone for JIRA but it only works on Cloud.

Also scriptrunner but there's a learning curve. Thanks again