# subtaskIssueTypes() / subtaskWorkTypes() in JQL

URL: https://goingstellar.ro/reference/jql/subtaskissuetypes/

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 ASC
```

Open 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 2026-11-29.

```
type in subtaskWorkTypes() AND statusCategory != Done
```

All 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 2026-11-29.

```
issuetype in subtaskIssueTypes() AND resolution is EMPTY AND project = WEB
```

Sub-tasks of one project that were never resolved. Their parents may look finished while this work is still pending. Run on Jira Cloud on 2026-11-29.

```
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 2026-11-29.

```
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 2026-11-29.

## 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 needs `in` or `not 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 = WEB` as a separate clause.
- A query on sub-tasks alone shows them without context. Add `parent` to 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

- [Open subtasks](https://goingstellar.ro/tools/jql-examples/#subtasks)

## 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.

## Related

- [standardIssueTypes()](https://goingstellar.ro/reference/jql/standardissuetypes/)
- [type](https://goingstellar.ro/reference/jql/type-field/)
- [parent](https://goingstellar.ro/reference/jql/parent-field/)
- [IN](https://goingstellar.ro/reference/jql/in-operator/)
- [NOT IN](https://goingstellar.ro/reference/jql/not-in-operator/)
- [assignee](https://goingstellar.ro/reference/jql/assignee-field/)

## Sources

- [JQL functions (Atlassian Support, Jira Cloud)](https://support.atlassian.com/jira-software-cloud/docs/jql-functions/)

