Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Find all issues which commented by specific user

Anh Nguyen
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 10, 2024

Hi everyone, 

 

Could someone help me find all issues with JQL that have been commented on by a specific user? I tried using the filter below, but it also includes comments that mention the user.

comment ~ <USERID>

 

Thanks

1 answer

1 accepted

4 votes
Answer accepted
Hans Polder _Devoteam_
Community Champion
September 10, 2024

@Nguyen tuan anh ,

Jira’s native JQL doesn’t support this directly. You can achieve this with the help of third-party plugins like ScriptRunner or JQL Search Extensions.

Here are some examples:

Using ScriptRunner:
issueFunction in commented("by username after 2023-01-01")
This query finds issues commented on by a specific user after a certain date.

Using JQL Search Extensions:
issue in commentedByUser("username")
This query finds all issues commented on by a specific user

Anh Nguyen
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 12, 2024

I want to find the other. But, There is no other way besides your solutions.  

Thank you sm @Hans Polder _Devoteam_ 

Like Hans Polder _Devoteam_ likes this
Marvin Brand
Contributor
March 13, 2025

Hey @Hans Polder _Devoteam_ , any idea why "issueFunction in…" doesn't work on our cloud site? Script Runner Enhanced Search is enabled. Does "issueFunction in…" even still exists for cloud?

Thanks!

Marvin

Hans Polder _Devoteam_
Community Champion
March 14, 2025

Hi @Marvin Brand ,

You can't use the 'issuefunction' directly in the standard Jira Issue Search functionality. You'll need to go to AppsScriptRunner Enhanced Search and use that to filter accordingly.

Some inspiration: https://community.atlassian.com/forums/Jira-questions/The-issueFunction-JQL-search-is-not-working-in-Jira-Cloud-board/qaq-p/2798140

And, definitely check out the support documentation from ScriptRunner's vendor: https://docs.adaptavist.com/es/latest/enhanced-search-jql-functions

Suggest an answer

Log in or Sign up to answer