You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 4 Next »
Searches issues with / without comments, 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 comments, 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.
hasComments()hasComments(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 comments:
issue NOT IN hasComments()
• Find Stories that have three or more comments
type = Story AND issue IN hasComments(">= 3")
• Find issues within the EMEA project with exactly two comments
project = EMEA AND issue IN hasComments("2")
· JRASERVER-40308 - JQL query to filter by comment quantity (by Vincent Chin)· Is it possible to search for issues with no comments? (by Svante Gustafsson at ATLASSIAN Community)· Filter issue that has comment (by Pangianto Pang at ATLASSIAN Community)· How can I filter issues by comment count?(by Stanislav Golodov Reis at ATLASSIAN Community)
JQL Function Reference