Versions Compared

Key

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


UI Text Box
sizemedium
typeinfo

Use case

Return the sum up of the logged time time spent of the current and the linked issues.

Expression

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

Code Block
linenumberstrue
%{round(sum(append(fieldValue({issue.timeSpent}, issuesFromJQLunion("issue in linkedIssues("+%{issue.key}+") OR parent in linkedIssues("+), issueKeysToIssueList(%{issue.key}+") OR issuekey = "+%{issue.key}+" OR parent = "+%{issue.key})), [0])) / 60 * 100) / 100}
Page properties
hiddentrue
Feature

Field type

Smart number field

Parsing mode

General mode

Expression
Code Block
linenumberstrue
%{round(sum(append(fieldValue({issue.timeSpent}, issuesFromJQLunion("issue in linkedIssues("+%{issue.key}+") OR parent in linkedIssues("+), issueKeysToIssueList(%{issue.key}+") OR issuekey = "+%{issue.key}+" OR parent = "+%{issue.key})), [0])) / 60 * 100) / 100}
Label
Use case description

Return the sum up of the logged time of time spent of the current and the linked issues.

Complexity

 

Status
titleINTERMEDIATE