I've seen a few discussions on this topic but without any definitive answers.
I'm trying to write an automation rule to clone an issue and all of it's children at any level in the hierarchy.
The use case is a lot of my teams want to template work by creating exemplars in Jira then cloning the whole issue hierarchy. This is fine if it's just Task -> Sub-task or Epic -> Task however Epic -> Task -> Sub-task is hard as automation only lets you have one level of branching. And if you add a level above Epic, say "Initiative", cloning Initiative -> Epic -> Task -> Subtask is even harder.
I know there are marketplace apps like DeepClone but they are prohibitively expensive for this use case and this is a problem that feels easily solvable in Jira Automation if you know the right way to solve it.
Does anyone have any automation rules to share or ideas on how it would work?