You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 9 Next »
Searches issues with / without subtasks, additionally you can further refine your query by using a number expression.Note:A 'number expression' is made of an optional operator representing by its mathematical symbol and a (prositive/negative) number. Let's see the allowed symbols...OperatorSymbolEquals to=Not equals to!=Greater than>Greater than or equals to>=Less than<Less than or equals to<=
Searches issues with / without subtasks, additionally you can further refine your query by using a number expression.
Note:
A 'number expression' is made of an optional operator representing by its mathematical symbol and a (prositive/negative) number.
hasSubtasks()hasSubtasks(numberExpression)
IN , NOT IN
= , != , ~ , !~ , > , >= , < , <=
=
,
!=
~
!~
>
>=
<
<=
IS , IS NOT , WAS , WAS IN , WAS NOT , WAS NOT IN , CHANGED
IS
IS NOT
WAS
WAS IN
WAS NOT
WAS NOT IN
CHANGED
• Find issues without subtasks:
issue NOT IN hasSubtasks()
• Find Stories that have three or more subtasks
type = Story AND issue IN hasSubtasks(">= 3")
• Find issues within the EMEA project with exactly two subtasks
project = EMEA AND issue IN hasSubtasks("2")
· 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