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.

smile

 

If you're using JIRA Cloud:

JQL Pro (Mongo Search) is available on Cloud.

The methos is:

{
  "fields.comment.comments.author.emailAddress""some@email.com"
}

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,

Angela

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:

https://marketplace.atlassian.com/download/plugins/com.onresolve.jira.groovy.groovyrunner/version/1566?_ga=1.18980344.1911347836.1464097417 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:

{
  "fields.comment.comments.author.emailAddress""some@email.com"
}

Other search examples available here.

 

Best regards, Damien.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

412 views 3 11
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