Need a way to search for issues with no public comments in JIRA Service Desk

I was using issuefunction not in hasComments() prior to implementing Service Desk, however this is now showing all public and internal comments. 

In order to track tickets that have not yet had their first response to the customer, I need to be able to run a query looking for issues with no public comments. 

I tried issuefunction not in commented("inRole Service Desk Customers") - however ScriptRunner will not allow for role's with spaces in the name. Not sure if that would even do what I wanted since I can't get it to run

3 answers

project = Helpdesk and issueFunction not in commented("inRole 'Service Desk Customers'")

Use quotes around Service Desk Customers

 

Sheral's answer fixed my query, however it's not doing what I want. sad Any ideas on how to query for "public" comments only?

When doing complicated queries that require quotations in an issuefunction, I've been able to escape them.  So:

issuefunction not in commented("inRole \"Service Desk Customers\"")

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 41m ago in Jira

My Top 10 Favorite Features in the New Jira

  This morning, our CEO Scott Farquhar shared exciting news about a reimagined experience in Jira Software. As Principal Product Manager for Jira Software, I wanted to   re-share h...

36 views 0 3
Read article

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