JQL function
subtaskIssueTypes() / subtaskWorkTypes() in JQL
subtaskIssueTypes() stands for every work type that is a sub-task. The new docs call it subtaskWorkTypes() and both names run. Use it to list the small pieces of work under a parent, or to check that sub-tasks are assigned and not forgotten.
Syntax
issuetype in subtaskIssueTypes()
issuetype in subtaskWorkTypes()
Works with
- Fields: Type (issuetype)
- Operators: IN, NOT IN
- Not with: =, !=, ~, !~, >, >=, <, <=, IS, IS NOT, WAS, WAS IN, WAS NOT, WAS NOT IN, CHANGED
Examples
issuetype in subtaskIssueTypes() AND assignee is EMPTY AND statusCategory != Done ORDER BY updated ASCOpen sub-tasks with no owner, oldest activity first. A check before a sprint starts, so no piece of work is left without a person.
Run on Jira Cloud on .
type in subtaskWorkTypes() AND statusCategory != DoneAll unfinished sub-tasks, written with the new function name. Use it to see how much small work is still open.
Run on Jira Cloud on .
issuetype in subtaskIssueTypes() AND resolution is EMPTY AND project = WEBSub-tasks of one project that were never resolved. Their parents may look finished while this work is still pending.
Run on Jira Cloud on .
issuetype in subtaskIssueTypes() AND parent in (WEB-1)The sub-tasks of one parent work item. Replace the key with the parent you want to review before closing it.
Run on Jira Cloud on .
workType in subtaskWorkTypes()The example from the docs. It runs as written and returns every sub-task in the instance you can see.
Run on Jira Cloud on .
Pitfalls
- A sub-task is never in the standard set.
issuetype in standardIssueTypes() AND issuetype in subtaskIssueTypes()is valid JQL but cannot match anything, because the two lists do not overlap (checked on Jira Cloud, November 2026) issuetype = subtaskIssueTypes()is not accepted. A function that returns a list needsinornot in; the error text is "Operator '=' does not support the list value". (checked on Jira Cloud, November 2026)- The function takes no arguments, so it cannot be limited to one project inside the parentheses. Add
AND project = WEBas a separate clause. - A query on sub-tasks alone shows them without context. Add
parentto your column list or filter by parent, or you will see titles such as "Write tests" with no hint of what they belong to.
Ready-made queries
Questions and answers
How do I find work items that are not sub-tasks?
Use issuetype in standardIssueTypes(), or issuetype not in subtaskIssueTypes(). Both give the same set.