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
Hello @Tero Tilus
You need to use {{createdIssue.key}} to reference the recently created task.
Please try and let us know if issues.
Relevant section:
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.