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 3 Next »

Description:

Searches for issues with / without comments.

Syntax

hasComments()

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 comments:

issue NOT IN hasComments()

• Find Stories that have comments

type = Story AND issue IN hasComments()

• Find issues within the EMEA project without comments

project = EMEA AND issue NOT IN hasComments()

Real World Use Cases:

· 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

  • No labels