Use case
Return the number of sub-tasks in the Done or Complete statuses of the Sub-task issue type.
Expression
Create and configure a Smart field using this expression in General parsing mode:
Expression | Description |
---|---|
%{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. | This example returns the number of sub-tasks in the Done or Complete statuses of the Sub-task issue type. To achieve this, the following functions are used: |