You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »


Use case

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

Expression

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

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

This example returns the sum of the time spent of the current and the linked issues.

To achieve this, the following functions are used: