Is it possible to search for issues with no comments?

Hi,

I want to find all issues (with JQL) that are un-commented, i.e. has no comments at all.

I have looked at the great Advanced Search page, but it only talks about finding strings within comments not if the comment itself exists or not.

Any ideas?

// Svante

2 answers

1 accepted

5 votes

Script runner plugin, has hasComments. So you could use

issuefunction not in hasComments()

Ahhhh, the Script Runner does it again!!!

How would we survive without it! Thanks Jamie for a great plugin! There are new use-cases for it all the time!

// Svante

Download version 1.1 of plugin.

https://bitbucket.org/bhushan154/jira-miscellaneous-jql-functions/downloads

And search for

issue in issuesWithNoComments()

Haven't yet tested it. Let me know if you have any issues. Or raise them at https://bitbucket.org/bhushan154/jira-miscellaneous-jql-functions/issues?status=new&status=open

I just renamed the plugin so the new location for the download is

https://bitbucket.org/bhushan154/jira-miscellaneous-jql-functions/downloads

great stuff, Bhushan!

I will try it out! Are you planning to launch this plugin at the marketplace?

// Svante

Also take a look at www.jiradev.com. It has a bunch of tutorials for JIRA development :)

Probably when I have a collection of 25 useful JQL functions ;)

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,104 views 13 19
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot