Remove either the label use-case-smart-text or use-case-smart-number depending on the feature the use case is based on

Use case

Return the sum of story points of the sibling issues including the current issue in the status category Done.

Expression

Create and configure a Smart field using this expression in General parsing mode:

%{sum(fieldValue({issue.cfnnnnn},issuesFromJQL("statusCategory = Done AND 'parent' = "+%{parent.key})))}

Replace "nnnnn" with the ID of the story points field. Keep in mind, that this smart fields should be displayed on a child issue.

Used parser functions

Feature

Field type

Smart number field

Parsing mode

General

Expression
%{sum(fieldValue({issue.cfnnnnn},issuesFromJQL("statusCategory = Done AND 'parent' = "+%{parent.key})))}

Replace "nnnnn" with the ID of the story points field. Keep in mind, that this smart fields should be displayed on a child issue.

Label
Use case description

Return the sum of story points of the sibling issues in the status category Done. 

Complexity