Sum up all the story points of stories under an epic as Total Story Points.
A valid configuration for thisĀ Calculated Number Field:
Math expression: sum(fieldValue({10106}, issuesUnderEpic(%{00015})))
Note that:
Once configured and added to an issue screen, the result will look like this: