Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Clone a Task automatically including Subtasks




I can Clone a Task automatically. That's ok.

But I want to clone the Subtask too and put the cloned Subtask to the cloned Task. In other words, I want to Clone a Task with its Subtasks. And when I click on the cloned Task, I want to have the Cloned Subtasks linked in the cloned Task, as in the original Task.


That's my actual automation:

Bildschirmfoto 2020-05-13 um 15.17.05.png

1 answer

0 votes

Hi @Marius 

See the answer of Commodore, you need to add this value "{{createdIssue.key}} to the parent issue.



Sorry that will not resolve my problem.

I don't have a manually trigger. I have a planned rule, please see my screenshot.

But i take a look on your Link and the picture in your link is telling me, that I have to write "{{createdIssue.key}}" to the parent Issue field. But in the "Parent Issue" field i have a drop down to choose "Aktueller Vorgang" or "Triggervorgang".

What am I doing wrong?

It's not important which trigger you use. Even if you have the dop down list you can write the value that i give u and press enter to validate your value. I just test it

Ok thank you Mohamed, I've put the Information successfully in the field "parent issue".  But, now it becomes a little bit complicated.


Initial Situation:

Task 1 incl. Subtask 1 and Subtask 2


New Situation after running the rule:

Task 1 incl. Subtask 1 and Subtask 2 AND cloned Subtask 1 and cloned Subtask 2

Cloned Task 1


What i like to have:

Initital Situation:

Task 1 incl. Subtask 1 and Subtask 2

After running the rule:

Task 1 incl. Subtask 1 and Subtask 2

Cloned Task 1 incl. cloned Subtask 1 and cloned Subtask 2


Can you follow me?

The sticking point is, that Jira should clone the subtasks and put them to the cloned Task and NOT to the old Task. You know what I mean?

Weird, it working good in my instance. If the first task have 2 subtask then the new task have only two subtask too

Can you share your automation pls

Of course. Here you see my Automation and in the second picture you see the result after i runned the automation.

My Automation is unfortunately in German. I switched the language in Jira to English but the Automation part is always in German. I hope you can understand it anyway.


Bildschirmfoto 2020-05-13 um 17.21.15.pngBildschirmfoto 2020-05-13 um 17.21.38.png

here my automation, it works fine. I think is the same as your (sorry i can't read german :) )


Hi Mohamed,

thank you for your Screenshot. Now here's my automation in english.

When I run the rule, there is an Error in the Logfile (see second picture).

The result is the same as yesterday: It clones all the Issues and Subtasks but did not add the cloned subtasks to the cloned task. It adds the cloned subtask to the origin task.

Maybe you can see a wrong setting?

//edit: I figured out: When i changed the "When: Scheduled" to "manually Triggered" then the rule runs correct.

So is there a wrong setting on my "When: Scheduled"?

Bildschirmfoto 2020-05-14 um 07.38.40.pngBildschirmfoto 2020-05-14 um 07.40.41.png

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events