Subtask cloning following KB article hits "Parent issue can not be sub-task"

Tero Tilus April 30, 2024

I followed https://confluence.atlassian.com/jirakb/automation-how-to-clone-tasks-stories-along-with-their-sub-tasks-1235853548.html to set up task+sub-tasks cloning automation.

When I run it, I'm getting "Parent issue ID: 'xxx' / Key: 'XXX-123' can not be sub-task. (issuetype)" where XXX-123 is a sub-task in the clone source. Main task clones fine.

For clone issue after selecting Subtask for Issue type there's two options for "Parent issue": Current issue (which results in above error) and Trigger issue (which results in the sub-task being created under the clone source task, not under the clone target). 

Here's how the clone action looks like

Näyttökuva 2024-04-30 kello 10.31.14.png

2 answers

1 accepted

2 votes
Answer accepted
Kalyan Sattaluri
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.
April 30, 2024
Tero Tilus May 1, 2024

Thanks!

What I didn't realize is that you aren't restricted to the options of the drop down, but you can (and this case should) type in a custom smart value.

0 votes
Tero Tilus April 30, 2024

.

Suggest an answer

Log in or Sign up to answer