Time spent in epic and its children
This template displays the sum of the values from the Time spent field of the current epic and its child work items excluding sub-tasks.
If the current work item is not an epic, βNoneβ will be displayed.
Configuration
To use the Time spent in epic and child work items template, simply select it from the template grid. Filter by Epic to find it faster.
Parameters
This template does not require any additional parameter configuration.
Expert mode
If you switch to Expert mode you can see the Smart field in the Expression Parser. You can now tweak the expression to create a custom smart field based on this template.
Expression
General expression:
%{%{issue.issueType} = "Epic" ? sum(append(fieldValue({issue.timeSpent}, issuesUnderEpic()), [0])) / 60 : null}
If the resulting number from the expression contains too many decimal numbers, feel free to select one of the available display formats or to configure it manually.
Format
Default
Used parser functions
The links lead to the JWTC documentation because the parser functions are shared functionalities.