Skip to content
Tags

,

JQL Cookbook: Recipe “Issues with Comments”

by on October 26, 2012

The JIRA Query Language (JQL) also known as Advanced Searching is the best invention Atlassian ever had about JIRA.

Nevertheless it still has some shortcomings. So for example it is not possible to search for all issues having comments – unless you think outside the box. To provide the solution first, this query will give you all issues with comments:

comment !~ "JUST_GIVE_ME_ISSUES_WITH_COMMENTS"

What’s this? Comments can only be used with contains operators (~ and !~). The one used above is the operator does not contain. So the hack is actually to search for all comments not matching the given string.

From → Tips & Tricks

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s