Forums

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

Is there any REST api which enables me to clone a whole project with exactly same issues?

m_affanabid
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 20, 2020

I am working on a php project which involves JIRA integration. I have searched alot but couldn't find much help. I have a project made in my JIRA and then i want to clone that project and copy all it's tasks and subtasks in it. In short i want to create a ditto copy of it with different name and key obviously and i want to do it over REST API or as the JIRA integration is part of my php project. 

1 answer

1 accepted

1 vote
Answer accepted
Earl McCutcheon
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 23, 2020

Hello @m_affanabid ,

There are not options in the API to copy a project or issues directly, but the process would be to get all the details of the source project and input that into the "Create project" endpoint as the initial step then get the details of each issue in the source project and use that data to create an issues in the new project via a "Create issue" or "Bulk create issue" , Check out the following thread that discusses this process a bit:

Alternatively you could look into add-ons as discussed in the following thread, noting the majority of the apps listed are going to be Server only, but the app  Deep Clone for Jira  has a cloud version and so does the JIRA Command Line Interface which has a  cloneIssue action and a cloneProject  action.

Regards,
Earl

Suggest an answer

Log in or Sign up to answer