Trying to automate a Jira ticket
When the ticket is "Done" it automatically clones the parent ticket and subtasks.
But, the subtasks are not cloned on to the new cloned parent ticket.
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.
Hi @Mayur Patel and welcome to the community!
On your Clone Issue action, you need to explicitly set the issue type to sub-task. This will present an option for where you can set the parent.
In the end, it should look something like this:
This should do the trick
Silly question, where do I add this section
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry - Edited my previous post to correct my miss
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried this before, but for some reason it only gives me 2 options
parent issue = current issue or parent issue = trigger issue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can start typing {{varNewParent}} and it will let you set it as a 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.
So this is a cross-project automation? If so, you may need to perform an Issue Create for the sub-task instead of cloning and then manually set all of the fields that you want copied over.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Mark Segall
Thanks for your answer, creating valuables works for the same project
I am also facing with the same issue for cross-proejct automation.
Would you mind elaborating more detail on the resolution you mentioned or any suggested adjustment on auto setting (refer to Pic2)?
Stuck in this stage now.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hmm.... This looks ok on paper. I'd take the following troubleshooting steps:
{{createdIssue}}
{{varNewParent}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Angela Chen When creating the variable, I used {{issue.createdIssue}} as the smart value and was able to successfully clone cross-project with subtasks under the parent.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.