Forums

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

Copy Account from Epic

Estelle Decanis
Contributor
January 25, 2022

Hello,
I want to create an automation.

When I create an interface task from an Epic, I would like to copy values ​​from the Epic (Account, Customer, Account owner, Epic name) to the interface task.

Capture d’écran 2022-01-25 150439.png

The fields are noted in the epic.

What is surprising is "Can't find issue" :

image.png

Yet I used the specific icon :

image.png

Could you help me ?

 

Best regards,

Estelle Decanis

3 answers

1 accepted

0 votes
Answer accepted
Bill Sheboy
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.
January 25, 2022

Hi @Estelle Decanis 

This may be a timing problem; when the issue created trigger fires it is possible all of the data is not yet available for use.  For example, the epic link value.

The way to check that, is immediately after your rule trigger add a Re-fetch action.  This will slow down the rule and reload the data before proceeding.

Kind regards,
Bill

Estelle Decanis
Contributor
January 25, 2022

Hi @Bill Sheboy

Thank you for your answer. Re-fetch action... ie ? What do I add as an action ?

Trudy Claspill
Community Champion
January 25, 2022

Screen Shot 2022-01-25 at 11.47.20 AM.png

Like Bill Sheboy likes this
Estelle Decanis
Contributor
January 25, 2022

Thank you @Trudy Claspill I try this

Estelle Decanis
Contributor
January 26, 2022

Thank you for the idea @Bill Sheboy ;)

Like Bill Sheboy likes this
0 votes
John Funk
Community Champion
January 25, 2022

Hi Estelle,

Try adding a Branch before you do the Edit issue action.

The Branch should be Epic (Parent). Then place the Edit issue action under the branch. 

Estelle Decanis
Contributor
January 25, 2022

Hi @John Funk it doesn't work

John Funk
Community Champion
January 25, 2022

Can you share a screenshot of your current rule?

And what doesn't work? Do you get an error? What doees the audit log say? 

Estelle Decanis
Contributor
January 25, 2022

Capture d’écran 2022-01-25 210301.pngCapture d’écran 2022-01-25 210533.png

Estelle Decanis
Contributor
January 26, 2022

@John FunkHave you an idea ?

John Funk
Community Champion
January 26, 2022

I went back to basics and it worked. 

screenshot.png

So that tells me there is something wrong wtih a screen or a field or something like that. 

Is the Epic on the same project as the task you are creating? 

Is the Epic Link populated at the time of creation of the task? 

Are the fields being copied on both the screens for the Epic and the task (Create Screen)?

Do the fields have a context that includes the Issue Type of the task being created? 

Estelle Decanis
Contributor
January 26, 2022

You said "The Branch should be Epic (Parent)" and it doesn't work. In your test I don't see the Epic branch. 

Estelle Decanis
Contributor
January 26, 2022

I managed to do my automation :

2022-01-26_16h12_08.png

John Funk
Community Champion
January 26, 2022

I took out the brand because it was not needed. 

Glad you got it working. 

0 votes
Trudy Claspill
Community Champion
January 25, 2022

Hello @Estelle Decanis 

Are the issues in a Company Managed project or a Team Managed project? If in a Team Managed project try the "copy from Parent" option instead of "copy from "Epic".

Estelle Decanis
Contributor
January 25, 2022

Hello @Trudy Claspill 

The issues are in a Company Managed project. I had tried "copy from parent" but got the same result

Trudy Claspill
Community Champion
January 25, 2022

I suggested that only for a Team Managed project, as Team Managed project issues track their parent Epic in the Parent field rather than the Epic Link field.

I haven't tried such an automation rule before, but I thought it might be looking for the Epic via info in the Epic Link field when you use "copy from Epic", and that might not work for Team Managed project issues.

Suggest an answer

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

Atlassian Community Events