I would like to clone task and sub-task from an existing Project with the condition that the Project Category is Project Management.
I tried to set up this Automation but it seems to have an issue cloning task over to the target Project.
Can you provide the details from the Audit Log for an execution of the rule?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you show us the details of the Clone Issue actions?
Is this project a Company Managed project or a Team Managed project? That information will show at the bottom of the navigation panel on the left when you are viewing the project.
Is the project a Software, Service, or Work Management project? If the navigation options are displayed horizontally across the top of the screen (i.e. List, Board, Calendar, Timeline, etc.) then it is a Work Management project.
Based on your first For JQL branch it seems like you might be trying to clone multiple Tasks and their sub-tasks. Is that true?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The project is a Team Managed Project in JIRA Work Management. I am using automation to clone multiple tasks and their sub-task from one project to another project. I have also tried a new automation rule and managed to clone the Task but not the sub-task due to an error when cloning "Issues with this Issue Type must be created in the same project as the parent. (project)")
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.
Are both the source and destination projects Team Managed?
Does the Rule Scope name both the source and destination projects?
The original error could've come about because in Team Managed projects all the configuration elements have unique identifiers. In the Clone task if you selected Task for the issue type before you selected the destination project then the rule would be picking up the ID (10002) for a Task issue type from the source project. The ID for the Task issue type in the destination project would be different. With Team Managed projects you need to select the destination project first, then the issue type.
Regarding cloning subtask into a Story in a different project, I'm sure that has been discussed before in community posts. I will see if I can find the relevant posts and add the links here.
I think it involves
1. creating a variable to hold the ID of the new Story you created through cloning.
2. Cloning the subtasks, but leaving them cloned into the same original issue.
3. Editing the subtasks created by cloning to change their Parent Link to be the issue ID of the new Story you created through the previously cloning step.
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.