Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

UI Text Box
sizemedium
typeinfo

Use case

Return the number of sub-tasks in the Done and or Complete statuses of the " Sub-task " issue type.

Expression

Create and configure a Smart field using this expression inGeneral parsingmode:

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

UI Text Box

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. 

Used parser functions

Page properties
hiddentrue
mode
FeatureImage Removed

Image Added

Field type

Smart text field

Parsing mode

General

Expression
Code Block
linenumberstrue
%{count(filterByIssueType(filterByStatus(subtasks(), "Done, Completed"), "Sub-task, Sub-story"))}
UI Text Box

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. 

Label
Use case description

 Return the number of sub-tasks in the Done and or Complete statuses of the " Sub-task " issue type.

Complexity

Status
colourGreen
titleBeginner