Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How do I search for comments by a specific user?

Lisa Robbins March 14, 2016

This question is in reference to Atlassian Documentation: How to find all the comments related to one user in the database

When I use JQL to find comments created by a certain user such as:

SELECT ji.pkey, ja.actionbody

FROM jiraaction ja, jiraissue ji

WHERE ja.issueid = ji.id

AND ja.actiontype = 'comment'

AND ja.author = 'Robbins1, Lisa'; I get the following error:

Expecting Operator but got 'ji.pkey'  am I typing the JQL in the wrong place?

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

7 votes
Answer accepted
Michael Partyka
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 14, 2016

Hi Lisa,

If you have Script Runner plugin (older version for free)

use this jql

project = TEST and issueFunction in commented(' by lisa')

It will all issues which certain user commented

TAGS
AUG Leaders

Atlassian Community Events