Page History
UI Text Box | ||||
---|---|---|---|---|
| ||||
Use caseReturn the sum of the worklogs of an epic and the issues under it in hours without decimal part. |
Expression
Create and configure a Smart field using this expression inGeneral parsing mode:
Code Block | ||||
---|---|---|---|---|
| ||||
%{%{issue.issueType} = "Epic" ? (sum(append(fieldValue({issue.timeSpent}, issuesUnderEpic()), [{issue.timeSpent}] )) / 60) : null} |
UI Text Box | ||
---|---|---|
| ||
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. |
This example returns the sum of the worklogs of an epic and the issues under it in hours without decimal part.
To achieve this, the following functions are used:Used parser functions
Page properties | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||
|