I show that:
But i need to clone the status of the Subtask too.
How i clone the status of the subtasks from the parent?
Thanks
When you "Clone" an issue, it means that you are creating the issue with the same status and other fields.
So, in the guide, the steps are:
Thus, if you use same configuration in the document, childrens (sub-tasks) should be cloned with their statuses.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, thanks for your answer.
Subtasks that are cloned are set to the first possible state defined in the state flow and do not respect the state they were in in the parent.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you please try the steps in here?
Step 1:
Clone the parent issue using the Clone Issue action component. Choose the destination Project and an Issue type in that destination project.
Step 2:
Create a variable to store the cloned issue key into it. This is necessary because this automation rule will potentially end up creating multiple subtask clones as well.
Without a variable to store the first parent issue's cloned key, subsequent cloned subtasks will change the value of smartvalue {{createdIssue.key}} during the execution.
Step 3:
Add a branching step to work on the Sub-Tasks and choose the sub-task issue type for the 'Type of related issues' field. In Jira Cloud, you can also choose 'Children', this relationship represents subtasks in this context as well.
Step 4:
- Under the 'For Sub-tasks' (or For Children) branch add a Clone Issue action.
- Choose the destination Project and the issue type as sub-tasks issue type in the destination project.
- Now, for the 'Parent' field manually type in the smart value {{cloneparent}}
- This will make the issue cloned in Step 1 as the parent issue for the sub-tasks cloned now.
Step 5:
Save and Publish rule.
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.