It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

Jeff Tillett Community Leader Dec 16, 2015

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

2 votes
Sheral Hewes Dec 16, 2015

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

Use quotes around Service Desk Customers

 

1 vote
Jeff Tillett Community Leader Dec 16, 2015

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?

0 votes
Jeremy Gaudet Dec 16, 2015

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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted in Statuspage

⭐️Would you recommend Statuspage? Leave a (honest!) review. ⭐️

Hi Community friends, We're working on sourcing more reviews on Capterra – a popular software review site –  to help teams like yours make more informed decisions when choosing an inc...

82 views 3 5
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you