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 Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,917 views 19 22
Read article

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