Forums

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

Automation Rule: Copy field from Story to its Parent (Epic)

Emna Elleuch
Contributor
July 15, 2024

 

 

Hi, I've added an automation rule to copy Custom field Time Spent from a Story to its Parent.

This is a quick description of our Workflow: we have DEV and QA Stories linked to a Story and we have added an Automation Rule to sum up the time spent in all dev/qa stories and add them to the Story (in a Custom Field= Time Spent)

Now, I would like to copy this Custom field from the Story to its Parent. it’s not working for me (attached the Automation Rule configuration).

 

Actually, if I add manually a value in Time Spent Field in the Story, the Automation Rule is working fine and I can see the same Time Spent to its parent (Epic). Looks like since the filed is not populated manually (since it’s coming from another Automation Rule) the copy is not working as expected.

 

Im doing that to have the Clock work app working and showing the Time spent.

 

Is there a way to fix that? Automation Rule.PNG

2 answers

1 accepted

2 votes
Answer accepted
Hans Polder _Devoteam_
Community Champion
July 15, 2024

Hi @Emna Elleuch 

Just curious: Why would you send this value to its Epic this way? This would only work if an Epic would only have one Story linked to it, because if there are other stories linked to the same epic, the 'Time spent' value would simply get overwritten if both stories get the Time Spent value filled in at some point (the last one filled in will be copied /overwritten on Epic level). 

But, if that's the use case then this indeed should work. You're mentioning that the rule does work if you manually fill in the value in the story. That would lead me to believe that the checkmark highlighted below is not checked for this automation rule (you can find it in the 'Rule Details' section). Can you validate?

 

Screenshot 2024-07-15 133436.png

Wouter Bruinings
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.
July 15, 2024

Great reply Mr Polder. 

Like # people like this
Emna Elleuch
Contributor
July 16, 2024

@Hans Polder _Devoteam_  thanks a lot that works for me !! :D 

Like Hans Polder _Devoteam_ likes this
Hans Polder _Devoteam_
Community Champion
July 16, 2024

@Emna Elleuch good to hear! Enjoy your automation tinkering 😊

Like Emna Elleuch likes this
0 votes
Wouter Bruinings
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.
July 15, 2024

The Epic is technically not the parent. If you'd use this rule on a sub-task, the parent story would likely get the value copied over. 

You could try using smart values instead. 


Suggest an answer

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

Atlassian Community Events