Forums

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

How to clone Epic with all its issues preserving same linkage on cloned Epic and cloned issues?

Rim Budrys
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!
August 10, 2023
  1. Created an Epic with 2 child issues.
  2. Used "Clone an Epic from one company-managed project to another with all existing issues" buit-in automation template
  3. Used the following config (see screen print)
  4. Got Epic and 2 child issues cloned, but issues are orphaned and not linked to cloned Epic . What settings would achieve cloned issues to be auto-linked to cloned epic to mimic the original Epic to issue relationship?

 

Screenshot 2023-08-10 133406.png

4 answers

1 vote
Thibaut Subra _Elements_
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 Leaders.
August 10, 2023

Hi @Rim Budrys 

If you need to go further, we developed an application called Copy & Sync that allows you to copy an Epic with all its child issues with a single recipe.

In a nutshell, you will be able to:

  • Copy an Epic with all its child issues
  • Copy subtasks of the child issues if any
  • Choose which fields you want to copy (summary, description, etc.), but also comments, attachments and so on
  • Keep all links between the Epic and its child issues

It's really easy to use and to configure with just a few clicks.

If you want to keep your Automation, you can trigger the recipe directly via Automation through API.

Feel free to give a try, it's free under 10 users and we have a 30-Day trial policy.

I'll be glad to help!

Regards

Thibaut

0 votes
Syed Majid Hassan -Exalate-
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 Leaders.
August 20, 2023

HI @Rim Budrys

Welcome to the community. This is Majid @ Exalate. 

I am not sure if you were able to solve this or not, but using a synchronization solution liek Exalate you can sync these Epics bi-directionally to another Jira project (on the same instance) or a totally different Jira system as well. 

Hope it helps. 

Thanks

Majid

0 votes
Luka Hummel - codefortynine
Atlassian Partner
August 11, 2023

Hi @Rim Budrys and welcome to the community!

If you are willing to use a third-party app, our Deep Clone for Jira can help you clone whole issues hierarchies (Initiatives ⇒ Epics ⇒ Tasks/Stories ⇒ Subtasks) with our Epic/Tree Clone feature.

  1. Navigate to the issue you want to clone

  2. Click Action menu ••• > Deep Clone

  3. Select Epic/Tree Clone

  4. Configure and create your Epic/Tree Clone

Deep%20Clone%20for%20Jira_Epic%20Tree%20Clone-20230728-084919

Soon, you will also be able to create presets for Epic/Tree Clones, so you will be able to quickly trigger an Epic/Tree Clone from the Actions menu ···. This will also allow you to trigger an Epic/Tree Clone via Jira automation.

We even have planned a webinar to introduce the feature. You can sign up here if you are interested.

0 votes
Mark Segall
Community Champion
August 10, 2023

Hi @Rim Budrys and welcome to the community!

Right now your child issues are cloning but with "Copy from Parent", it means they are attempting to copy the Epic Link of their parent which doesn't exist yet.  Here's how I would address it:

Add a Create Variable action just after your Epic clone:

  • varEpic
  • {{createdIssue}}

Then in the Clone Issue within your branch, change Epic Link from "copy from parent' to {{varEpic}}

Rim Budrys
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!
August 11, 2023

Unfortunately {{varEpic}} cannot be set in Epic Link field in UI considering it is a dropdown.

 

I was able to get cloned tasks to be linked to new cloned epic via "Relates" 

However I need new cloned tasks to have a newly cloned epic as their parent instead.

 

Screenshot 2023-08-11 163322.png

Mark Segall
Community Champion
August 14, 2023

You can absolutely use a smart value in the Epic Link field.  As you start typing it in, you will be prompted to use it as a smart value.  

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events