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
Posted yesterday in United States

Thanksgiving Tuesday

Good morning All, First of all, Happy early Thanksgiving from the NOVA AUG Leaders! I am anticipating no one will be looking at the group on Thanksgiving Day 😊 Today's topic will be different th...

28 views 4 2
View post

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