Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Description:

Searches for issues with / without subtasks

Syntax

hasSubtasks()

Available sincev2.0.0-RELEASE
Supported fieldsIssue
Supported operatorsIN , NOT IN
Unsupported operators

= , != , ~ , !~ , > , >= , < , <=

IS , IS NOT , WAS , WAS IN , WAS NOT , WAS NOT IN , CHANGED

Examples:

• Find issues without subtasks:

issue NOT IN hasSubtasks()

• Find Stories that have subtasks:

type = Story AND issue IN hasSubtasks()

• Find issues within the EMEA project without subtasks:

project = EMEA AND issue NOT IN hasSubtasks()

Real World Use Cases:

· JRASERVER-24973 - Ability to Show Only Issues Without Subtasks (by Alyson Reis [Atlassian])
·
JQL filter for Stories without Subtasks? (without plugin) (by Mike Shkolnik at ATLASSIAN Community)
·
I need to find issues that has no subtask (by Jurgen Sërbo at ATLASSIAN Community)

JQL Function Reference

  • No labels