Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Copy data from Epic to Task

Rohith k August 20, 2024

Hi Team,

When I link a ticket from Epic to create a Task, can I please have a check box to include everything (including attachments) from the Epic to copy to the Task.
I have created the automation; I am getting the below error.

Error Message:
Action details:

Issue condition
The following issues passed:
CP2-1287
Edit issue
Error editing issues
CP2-1287 (Given parent issue does not belong to appropriate hierarchy., Issues with this Issue Type must be created in the same project as the parent. (pid))

Thanks!!

2 answers

0 votes
Shreeja J
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 25, 2024

Hello @Rohith k 

I wanted to check in to see if my previous reply was helpful or if there's anything else you need assistance with.

Thanks,
Shreeja J

 

Rohith k August 26, 2024

Hi @Shreeja J 

I have created the automation as per the screenshot, but it is not working as expected.
We are creating task form the Epic ticket.

Shreeja J
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 26, 2024

Hello @Rohith k,

Could you please share a screenshot of the audit log for the automation rule?

Thanks,
Shreeja J

Rohith k August 26, 2024

@Shreeja J , please find the below audit log screenshot. The audit log was showing, issue has edited successfully, when we saw a ticket there is nothing updated from the epic
Screenshot 2024-08-26 152920.pngScreenshot 2024-08-26 153059.png

Shreeja J
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 26, 2024

Hello @Rohith k 

The automation will only copy data if it's present in the Epic. If there’s no data in the Epic for the fields you’re trying to copy, nothing will be transferred to the Task.

Please check if the necessary data is available in the Epic before running the automation.

Thanks,
Shreeja J

Rohith k August 26, 2024

@Shreeja J  

The Automation doesn't work, I found a different automation and it's working fine.
Please find the below automation. Thanks for your help.

Screenshot 2024-08-26 193405.png

0 votes
Shreeja J
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 20, 2024

Hello @Rohith k,

Thank you for reaching out. To address your request for copying all details, including attachments, from an Epic to a Task using automation, please follow these steps:

  1. Fix the Project Hierarchy Issue: Ensure that the Task is created within the same project as the Epic to resolve the project hierarchy error.

  2. Update the Automation Rule:

    • Add Fields to Copy: Configure your automation rule to include the specific details you want to copy from the Epic to the Task.
    • Copy Data from Trigger Issue: Set up your automation rule to pull data from the Epic (the trigger issue) and apply it to the Task, including attachments.

If you need further assistance please let me know!

Thanks,
Shreeja J

Rohith k August 21, 2024

Hi @Shreeja J 

We are creating tasks in the same project only, but we are getting same error.

Shreeja J
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 21, 2024

Hello @Rohith k,

Since the tasks are being created in the same project, could you please share a screenshot of the automation rule you've set up? This will allow me to better understand the issue and offer more accurate assistance.

Thanks,
Shreeja J

Like Sonashree S likes this
Rohith k August 22, 2024

Hi @Shreeja J 

Please find the automation attached:
Screenshot 2024-08-22 184046.png

Shreeja J
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 22, 2024

Hello @Rohith k,

Thanks for the update. It looks like the current automation rule might not be set up to copy values from the Epic to the Task correctly. Here’s how you can set it up:

  1. Trigger: Set the trigger to "Issue Created."

  2. Condition: Add a condition to check if the issue type is "Task."

  3. Action: Use the "Edit Issue" action. Configure it to copy fields like Summary, Priority, Parent, Description, and any other necessary fields from the Epic.

Ensure that the values are being copied correctly from the Epic issue to the Task.
I have also attached a screenshot of the automation rule for your reference.
Screenshot 2024-08-22 221336.png
This should help you copy the values from the Epic to the Task correctly.
Let me know if you need further help!

Thanks,
Shreeja J

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events