I have to sum story points that goes like this
Issue A -> parernt of -> Epic A -> Epic link -> Stories
I need in the Issue A the sum of all the story points in all the stories that are in all the epics.
I have tried with scriptrunner scripted fields that sum jql but it seems the epic link breaks them up.
I can sum the story points in the epic or the parent with the epic but I cannot sum all of the hiearchy.
Tried:
jqlSearch = "issueFunction in linkedIssuesOfAllRecursive ('issue = ${issue.key}','Parent of')"
But it does not follow the parent link
jqlSearch = "issueFunction in issuesInEpics('issueFunction in linkedIssuesOfAllRecursive ('issue = ${issue.key}','Parent of')')
I think is to complicated and works fine in the issue navigator but in the script gives null