This article explains how users can show statistics of the total story points of nonclosed and closed status based on Epics.
\uD83D\uDCD8 Instructions
Navigate to Jira Menu > AIO Reports > My Area > My Calculated Fields.
Click Create New Field to create a new calculated field.
Configure the calculated field as shown below:
Create a report as shown below to show the total story points of issues in epics by closed and nonclosed status.
Proper permissions are needed to create calculated field.