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
Global reflexive transition
Create a global reflexive transition (a transition from any issue to itself).
⚒️ 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")}
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