Count work items and sub-tasks in epic
This template displays the number of work items and sub-tasks of those work items in the current epic.
Sub-tasks from the epic are excluded from the calculation.
If the current work item is not an epic, βNoneβ will be displayed.
Configuration
To use the Count work items and sub-tasks in epic 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" ? count(append(issuesUnderEpic(),subtasks(issuesUnderEpic()))) : null }
Format
Default
Used parser functions
The links lead to the JWTC documentation because the parser functions are shared functionalities.