How to fetch tickets with atleast one comment on it?

nishant kumar May 8, 2023

Is there any JQL that shows/fetch the tickets with atleast one comment on it in JIRA ticket. 

1 answer

1 accepted

0 votes
Answer accepted
Ojase Emmanuval
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 8, 2023

Hi @nishant kumar ,

Welcome to the community.

If you have scriptrunner installed in the instance, you can use the JQL function to get more accurate results

issueFunction in hasComments()

If you don't have script runner, running the following JQL will help.

comment ~ "anything*" OR comment !~ "anything*"

Thanks,

Ojase

nishant kumar May 13, 2023

Hi @Ojase Emmanuval ,

Thanks that works for now. I will keep testing it and see if it keeps on working in future

Ojase Emmanuval
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 14, 2023

@nishant kumar Can you please accept the answer if it worked for you

Suggest an answer

Log in or Sign up to answer