Use case

Return the sum of the time spent of the current and the linked issues in hours.

Expression

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

%{sum(append(fieldValue({issue.timeSpent}, union(linkedIssues(), issueKeysToIssueList(%{issue.key}) )), [0])) / 60}

Used parser functions

Feature

Field type

Smart number field

Parsing mode

General

Expression
%{sum(append(fieldValue({issue.timeSpent}, union(linkedIssues(), issueKeysToIssueList(%{issue.key}) )), [0])) / 60}
Label
Use case description

Return the sum of the time spent of the current and the linked issues in hours.

Complexity