I need to update the story point of an "Initiative" as the sum of the "linked" epics. So epics are linked to the initiative (not as a subtask but as a link). Whenever the story point of the epics change, the change should get reflected in the way that the sum of story points of all the linked epics should be = story point of the initiative
1. When: the value of story points changes
2. If the issue type is epic and there are linked issues
3. For the linked issues (which means the for initiative}
Story point = {{issue.issuelinks.Story Points.sum}}
However, this is not working. The story point for the initiative is zero even when the story point for epic has values
This is similar to what was done here
https://www.atlassian.com/software/jira/automation-template-library/sum-up-story-points
Please help, urgent!