On this page
Use case
Copy the values of the fields defined in the Update fields post-function to the issues under the epic after their creation.
This chain of post functions will update the fields of all of the issues under the epic every time a new one is added to the epic during its creation.
Prerequisites
Configuration
Add the Update fields post function to a global reflexive transition and configure it as follows:
Target issue*
Select Parser expression and write the following expression with the expression editor in General parsing mode.
%{issuesUnderEpic()}
In order to update only the issues that are in the To Do status, you can use this other expression.
%{filterByStatus(issuesUnderEpic(), "To Do")}
Fields
Select the fields that you want to copy from the epic to the issues under it and configure them as desired.
Add the Transition issue post function to the Create transition in the second position and configure it as follows.
Target issue
Select Parser expression and write the following expression with the expression editor in General parsing mode.
%{epic()}
Mode
Select Execute transition and choose the global reflexive transition that contains the Update fields post function.
Conditional execution
Write the following conditional execution with the expression editor in Logical parsing mode.
%{issue.issueType} = "Story"
Related use cases
If you still have questions, feel free to refer to our support team.