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 time spent from from of the linked issuesin hours.

Expression

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

Code Block
languagejs
linenumberstrue
%{sum(append(fieldValue({issue.timeSpent}, subtasks(linkedIssues()), [0])) / 60 / 8}

}

Used parser functions

Page properties
hiddentrue
modesubtasks( / 8
Feature

Field type

Smart number field

Parsing mode

General

Expression
Code Block
languagejs
linenumberstrue
%{sum(append(fieldValue({issue.timeSpent}, 
linkedIssues()), [0])) / 60
}

Label
Use case description

Return the sum of the time spent from from the linked issuesin hours.

Complexity

 

Status
titleINTERMEDIATE