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 the story points of the child issues in any status with 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' = "+%{issue.key})))}

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

Used parser functions


Feature

Field type

Smart number field

Parsing mode

General

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

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

Label
Use case description

Return the sum of the story points of the issues with status "Done".

Complexity