Use case

This calculated field sums up all the story points of issue in an epic. The field only makes sense when displayed on an Epic issue type.

Configuration

Create a new Calculated Number Field (by JWT) custom field and name it properly.

Providing a description will help you to identify what the custom field does but this step is optional

Parser expression

Add the following expression:

Math expression for Calculated Number field:
sum(fieldValue({issue.cf10200}, issuesUnderEpic(%{issue.key})))
more info...

{issue.cf10200} is the numeric field code for Story points (this field code might differ in your Jira instance)

To achieve this, the following functions are used:

Add the field to the relevant view screens associated with an Epic issue type.

Remember: All calculated fields are read-only and cannot be manually updated on a create or edit screen.

Check the results

Once configured and added to an issue screen (of an epic), the result will look like this:


If you still have questions, feel free to refer to our support team.