Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

UI Text Box
sizemedium
typeinfo

Use case

Return the sum of the remaining estimates of the issues under the epic in hours.

Expression

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

ExpressionDescription
Code Block
languagejs
linenumberstrue
%{%{issue.issueType} = "Epic" ? sum(append(fieldValue({issue.remainingEstimate}, issuesUnderEpic()), [0])) / 60 : null}

This example returns the sum of the remaining estimates of the issues under the epic in hours.

To achieve this, the following functions are used:

UI Text Box
typetip

If the resulting number from the expression contains too many decimal numbers, feel free to select one of the available display formats or to configure it manually.

Page properties
hiddentrue
Feature

Field type

Smart number field

Parsing mode

General

Expression
Code Block
languagejs
linenumberstrue
%{%{issue.issueType} = "Epic" ? sum(append(fieldValue({issue.remainingEstimate}, issuesUnderEpic()), [0])) / 60 : null}
Parser functions
Label
Use case description

Return the sum of the remaining estimates of the issues under the epic in hours.

Complexity

Status
colourGreen
titleBeginner
Â