I was trying to follow tutorial presented here:
https://www.atlassian.com/software/jira/automation-template-library/sum-up-story-points
However this fails for me. I suspect that relation between Epic and Story is not a subtask in:
{{issue.subtasks.Story Points.sum}}
Above prints 0 as if there were no child under Epic.
When I try to apply rule for relation of Story - Sub-task it works all good.
However for Epic - Stories it does not work. Can you please help me on how to automate update of Epic total Story points when SP value of child Story is edited?