How can I search issues to which a user has commented?

Hello,

I want to search all issues to which I have entered a comment. Recently or in the distant past.

How can I do this?

Thanks

9 answers

1 accepted

This widget could not be displayed.

Also commented jql function in script runner.

This will just find issues where the specified user commented, and not "participated" in as the Participants field gives you.

I appreciate you can't install plugins but maybe someone else has the same question.

AFAIK you can't do it without a plugin.

I assume I can use JQL to search for all issues that have been commented by a user?

Maybe

issueFunction in commented("by User1")

How can I use JQL on a Jira installation? Thanks.

Is there anyway to push currentUser() into that?  I didn't see that as an option since I need to put it in quotes.  Unless jql support groovyString like notation ${currentUser()}

issueFunction in commented("by currentUser()")

works fine in recent versions.

Can this be done with "by Reporter" somehow?

This widget could not be displayed.

As a workaround, you can use a dashboard:

1 open Dashboard
2 Add Gadget Activitiy Stream
3 Add a global filter: Project is XY
4 Add a global filter: User is (username)
5 Below the Global Filter, klick JIRA - Add Filter:  Activity is Comment
6 Set "limit to 99 items"

You now have the comments as an activity stream.

Excellent work around without plug-ins!!

 

Thanks David!

-Ben

total lifesaver, thank you

Has anyone else noticed that Global Filters is now missing - Activity Streams are now all Beroke. 

This widget could not be displayed.

Generally the Participants fields from JIRA Toolkit plugin is sufficient for this, while this includes all issues in which you have participated (not just commented, like editing)

Can you please guide me as per how to use JIRA toolkit?

I do not see in my Advanced Search a "participants" field.

Thanks.

I read your reply to Joe's comment. I am afraid that you cannot achieve this without a plugin.

Can I alternatively use JQL to query Jira database? Maybe via SQL on the underlying Oracle database?

Sorry, missed your earlier comment. What is the issue in searching with participants field in JQL?

EDIT: And JQL is not for direct database queries. It is for searching within JIRA.

This widget could not be displayed.

For JIRA Cloud you can use JIRA JQL Pro Add-On

This widget could not be displayed.

You can view JIRA Comment Toolbox . To search on author of the comments with or without date range.

  • Commented By User
  • Commented By User Between Dates
  • Commented By Group Member
  • Commented By Group Member Between Dates
  • Commented By Role Member
  • Commented By Role Member Between Dates


Moreover, you can use JIRA Comment Toolbox for these;

  • Custom Comment Fields,
  • Custom JQL function
  • Delete issue comment
  • Delete user all comment
  • Update author of the comments.
This widget could not be displayed.
Joe Pitt Community Champion Jan 10, 2013

After you install the toolkit you need to define the field as a global field. It doesn't need to be on any screen to be searched though. However, it will only capture data from after it is defined.

Thanks I cannot use this.

The Jira I work on is managed by a customer. So I cannot ask for such tools to be added.

This widget could not be displayed.

You can use an add-on Essential Custom Fields for JIRA.

This widget could not be displayed.

Does somebody know how to do it (find user comment id and issue id) using an JIRA REST API?

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

160 views 2 0
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