Skip to main content
Skip table of contents

Number of sub-tasks based on status and work item type

Return the number of sub-tasks in the Done or Complete status.

Configuration

Create a Custom smart number field and use the General parsing mode.

Expression

CODE
%{count(filterByIssueType(filterByStatus(subtasks(), "Done, Completed"), "Sub-task, 
Sub-story"))}

Please, note that by changing "Done, Completed" into other statuses  and "Sub-task, Sub-story" into other issue types, you can adapt this use case for your needs. 

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.