Automatic Copy Summary from Epic to Task
Asked by kasik0109:

Moja struktura jest epic_task_subtask i chcia?bym, aby epickie podsumowanie automatycznie uruchamia?o si? w polu Klient w obiekcie zadania po utworzeniu zadania. Czy da si? to zrobi??  
Ta automatyzacja dzia?a w relacji podzadania epicki-\> po wpisaniu {{issue.parent.epic.summary}}


Answers:
author: Trudy Claspill
body: Cze?? [@kasik0109](/t5/user/viewprofilepage/user-id/5147987) ,

Witamy w spo?eczno?ci Atlassian!

Czy Zadanie jest tworzone przez u?ytkownika za po?rednictwem strony internetowej aplikacji, czy Zadanie jest tworzone za pomoc? regu?y automatyzacji? Je?li pr?bujesz to zrobi? za pomoc? regu?y automatyzacji, poka? nam swoj? regu??.

---

Hello,

Welcome to the Atlassian community!

Is the Task being created by a user through the application web page, or is the Task being created through an Automation Rule? If you are trying to do this through an Automation Rule please show us your rule.
> My structure is epic_task_subtask and I would like the epic summary to automatically fire in the Customer field in the task object when the task is created. Can it be done?  
> This automation works in an epic-\> subtask relationship when you type {{issue.parent.epic.summary}}

comments: author: kasik0109
body: Hello :)

The task is created by the user by the website. For subtask I have so and it's ok![bI1t8OR.png](https://community.atlassian.com/t5/image/serverpage/image-id/240644iFF6FC61A52025668/image-size/large?v=v2&px=999 "bI1t8OR.png")

And for the task I have so and does not want to act

![cxV6ZdE.png](https://community.atlassian.com/t5/image/serverpage/image-id/240649iD9F0AB9B46CC602F/image-size/large?v=v2&px=999 "cxV6ZdE.png")


author: Trudy Claspill
body: Obie regu?y, kt?re stworzy?e?, dzia?aj? dla mnie.

Druga regu?a pobiera Podsumowanie z Eposu, kt?ry jest rodzicem utworzonego Zadania, je?li to Zadanie ma nadrz?dny Epik. Je?li zadanie nie ma elementu nadrz?dnego Epic, nie ma ?adnej warto?ci do skopiowania.

Je?li regu?a nie dzia?a dla Ciebie, poka? nam szczeg??y dziennika kontroli dotycz?ce wykonania tej regu?y.

---

Both the rules you have constructed work for me.

The second rule does get the Summary from the Epic that is the parent of the Task that was created, when that Task does have a parent Epic. If the Task does not have a parent Epic then there is no value to be copied.

If the rule is not working for you, please show us the Audit Log details for the execution of that rule.


author: kasik0109
body: W dzienniku pokazuje sukces, ale nic si? nie dzieje w zadaniu. A mo?e dlatego, ?e pracuje nad projektem w Jira Work Management i jest zarz?dzany przez zesp??![](https://i.imgur.com/E3fHcz0.png)

![firefox_lqHaM4zJqW.png](https://community.atlassian.com/t5/image/serverpage/image-id/240988i3172C8947A3FBB7D/image-size/large?v=v2&px=999 "firefox_lqHaM4zJqW.png")


author: Trudy Claspill
body: Dzi?kuj? za dodatkowe informacje, ?e jest to projekt Jira Work Management i Team Managed. Kiedy testowa?em z tym scenariuszem, odkry?em, ?e nie otrzyma?em r?wnie? Podsumowania od nadrz?dnego Epica.

Po dodaniu czynno?ci Pobierz ponownie jako trzeciego kroku okaza?o si?, ?e {{issue.parent.summary}} poprawnie pobra? Podsumowanie z nadrz?dnego Epic.

![Screen Shot 2023-02-17 at 10.07.31 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/241016iF8E412420C0A3618/image-size/large?v=v2&px=999 "Screen Shot 2023-02-17 at 10.07.31 AM.png")

---

Thank you for the additional information that it is a Jira Work Management and Team Managed project. When I tested with that scenario, I discovered I also did not get the Summary from the parent Epic.

After adding a **Re-fetch** action as the third step I found that {{issue.parent.summary}} correctly retrieved the Summary from the parent Epic.

> The log shows success, but nothing happens in the quest. Or maybe because he works on a project in Jira Work Management and is managed by a team


author: kasik0109
body: Thank you, it works! :)


author: kasik0109
body: .


Tags: cloud

jira-work-management-cloud