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 of the linked issues in hours.

Expression

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

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

Please, note that by adding " / 8 " before the closing curly bracket, you will receive the value in working days. You can change this number depending on the definition of a working day.

Page properties
hiddentrue
Feature

Field type

Smart number field

Parsing mode

General mode

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

Please, note that by adding " / 8 " before the closing curly bracket, you will receive the value in working days. You can change this number depending on the definition of a working day.

Label
Use case description

Return the sum of the time spent from the linked issues in hours.

Complexity

 

Status
titleINTERMEDIATE