How can I search for Jira tickets for which I have added a comment?

How can I search for all Jira tickets for which I have added a comment?

3 answers

Hi Angela,


If you're using JIRA Server:

You can use JQL function: issueFunction in commented("by Username")
You must install ScriptRunner for JIRA. Only available in Server.



If you're using JIRA Cloud:

JQL Pro (Mongo Search) is available on Cloud.

The methos is:


Other search examples available here.


Best regards, Damien.

How do I know if our company's instance has Scriptrunner or if we are on cloud/server? Can i search for all issues I have commented on without needing a plug in or script?

When i try to enter the issueFunction command, I get the error message saying 

"Field 'issueFunction' does not exist or you do not have permission to view it"

Would installing ScriptRunner for JIRA allow this to work?

Thank you Damien,


Absolutely smile 

The issueFonction is provided by ScriptRunner smile

image2016-5-24 17:2:42.png


I tried installing the ScriptRunner for JIRA add-on but got the following error: cannot be installed on this Cloud instance.

Oh, it's for JIRA Cloud.


From @Mark McCormack [Adaptavist]:

Adaptavist have been working on ScriptRunner for JIRA in the cloud but we do not as yet have a good solution for adding ScriptRunner JQL functions. It is proving difficult technically to achieve it through the connect framework.

The main thing we have working so far includes scripted workflow post functions and scripted event handlers.

JQL Pro (Mongo Search) is available on Cloud. The method will probably be different, i'm looking for this smile

So, with this new add on the method will be:


Other search examples available here.


Best regards, Damien.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,991 views 12 18
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot