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 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
languagejs
linenumberstrue
%{(floor(%{issue.issueType} = "Epic" ? (sum(append(fieldValue({issue.timeSpent}, issuesUnderEpic()), [{issue.timeSpent}] )) / 60)) : null}
Page properties
hiddentrue
Feature

Field type

Smart number field

Parsing mode

General mode

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

Return the sum of the worklogs of an epic and the issues under it in hours without decimal part.

Complexity

 

Status
titleINTERMEDIATE