Skip to main content
Skip table of contents

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:

CODE
%{%{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.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.