Forums

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

Automation to clone stories & sub-tasks on sprint creation

Jenn Sherman
Contributor
February 21, 2022

Looking for some help on an automation.  When a sprint is created, I want a set of stories and their sub-tasks to be cloned and put into that new sprint.  The set of stories is in an epic.  My automation is correctly cloning the stories but without sub-tasks.  I've seen some examples where a For:Sub-tasks branch is added, but I'm not able to add that branch within my For:Epic Link = xx-1234.  

I have an epic "Weekly Operations template" that has stories in it that must be done weekly.  The automation below copies the stories, assigns them to the newly created sprint and attaches the stories to a new epic.  The sub-tasks on the stories are not being cloned and I'd like some help figuring out how to do that.

automation.PNG

2 answers

1 vote
Pramodh M
Community Champion
February 21, 2022

Hi @Jenn Sherman 

Yes, correct for now it works only for one hierarchy level.

This is a bit difficult as we don't have a direct option to do so in the Automation

Here is a feature request on the same

https://codebarrel.atlassian.net/browse/AUT-335

Meanwhile, I found this App which sounds good for your requirement

https://marketplace.atlassian.com/apps/1222030/epic-clone?hosting=cloud&tab=overview

Thanks

0 votes
Marlene Kegel - codefortynine
Atlassian Partner
February 22, 2022

Hi @Jenn Sherman,

I am Marlene from codefortynine.

Another option would be our Marketplace app Deep Clone for Jira.

Bulk Cloning of multiple epics and their child issues works as follows.

  • Filter for all the issues (Epics and child issues) you want to clone
  • Click Deep Clone
  • Select the project you want to clone into
  • Select "Same as original" as issue type
  • Select "Clone subtasks and keep the hierarchy"
  • Select "Link to cloned epic"

You can also edit the sprint while cloning in the Deep Clone "Field Editor".

deep-clone-jira_bulk-clone.png

 

deep-clone-jira_edit-sprint.png

Suggest an answer

Log in or Sign up to answer