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 yesterday in Agile

How Scrum works? It starts with training and education

To answer “How scrum works,” most of the teams I've worked with first addressed the question: “where to start?”  That question applies to both implementation and improvements on the Scrum framew...

108 views 3 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