Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,556,428
Community Members
 
Community Events
184
Community Groups

Clone task and sub-task from an existing Project with Automation

Edited

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.

jira.JPG

1 answer

0 votes
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 24, 2023

Can you provide the details from the Audit Log for an execution of the rule?

Here is the details from the Audit Log:

 audit log.JPG

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 27, 2023 • edited

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?

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)")

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 28, 2023 • edited

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.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events