Sum completed child items' story points
This template displays the sum of the selected story point field from the child items of the current work item.
If no child items are found, โNoneโ will be displayed.
For the parameter Story points, select the field that represents story points in your instance.
Configuration
To use the Sum completed child items' story points template, simply select it from the template grid. Filter by KPI to find it faster.
Parameters
To complete the configuration, select values for all parameters.

Expert mode
If you switch to Expert mode you can see the Smart field in the Expression Parser. You can now tweak the expression to create a custom smart field based on this template.
Expression
General expression:
%{sum(fieldValue({issue.cfnnnnn},issuesFromJQL("statusCategory = Done AND 'parent' = "+%{issue.key})))}
NNNNN is the ID of the custom field you chose for the โStory Pointsโ parameter.
Format
Default
Used parser functions
The links lead to the JWTC documentation because the parser functions are shared functionalities.