121

Until recently I was able to find all my public comments using a link on my profile page. I was using this functionality to keep track of all issues where I have commented, but not contributed anything. It was under a section called "Public Activity".

This function seems to have been removed. I can not find anything about it on the help page about profiles.

Does anybody have any information on when and why this was removed?

BillyTom
  • 2,519
  • 2
  • 17
  • 25

5 Answers5

178

You can do this with an advanced search query. In the Issues search box, enter "commenter:username".

Or if you want to search a specific repo: "RepositoryName commenter:username".

Unheilig
  • 16,196
  • 193
  • 68
  • 98
nwxdev
  • 4,194
  • 3
  • 16
  • 22
  • 1
    Thanks, that is exactly the functionality that I wanted. But it's still a shame that the link on my user page is gone and I have to take these extra steps. – BillyTom Apr 13 '17 at 13:53
  • 1
    It doesn't work. See [here](https://stackoverflow.com/questions/37181281/what-technique-do-you-use-to-keep-track-of-your-comments-in-issues-on-github). – steph643 May 02 '17 at 15:06
  • 1
    @user25 What do you mean with "Commentator vs. commenter"? – BillyTom Nov 02 '17 at 11:51
  • 1
    Is there any comment liker? – Qamar Jul 09 '18 at 05:01
  • 5
    How is this an answer? It says **all public comments** not just for one project? – Matej J Dec 15 '19 at 20:20
  • 1
    Note: this can also be done from the searchbar at top choosing the current repo, organisation or all of github – Jerome Apr 21 '21 at 11:40
  • 1
    I don't understand how to use this answer. A screenshot would be much welcome, I want to find my own comments across all repositories. (similar to what the OP asked for) – Vadorequest May 26 '21 at 21:33
  • @MatejJ It works since you can choose to limit the search to either one repo, one organization, or all of Github, as Jerome mentioned. Just try the top search bar. – xji Apr 28 '22 at 15:41
  • The only downside is that the results don't actually link to one's _comments_... – EvgenKo423 Nov 18 '22 at 16:28
23

This link is quite useful, it's a live feed of all issues you've commented.

https://github.com/notifications/subscriptions?reason=comment

enter image description here


Alternatively, this link is also helpful and is probably what the OP asked (issues where one has written comments):

https://github.com/search?l=&q=commenter%3AVadorequest+is%3Aissue&type=issues

Replace "Vadorequest" by the username you're looking for

You can also use the global search with commenter:Vadorequest is:issue to achieve the same result

enter image description here


Also, if you want to track discussions you participated in, this link might help:

https://github.com/search?l=&q=commenter%3AVadorequest&type=discussions

Replace "Vadorequest" by the username you're looking for

You can also use the global search with commenter:Vadorequest to achieve the same result

enter image description here


This 4th (and last) is not related to the OP's question, but might come in handy. It lists all PR you were requested as reviewer.

https://github.com/notifications/subscriptions?reason=review_requested

Vadorequest
  • 16,593
  • 24
  • 118
  • 215
  • 3
    This should really be a button somewhere in Github. – wanna_coder101 May 08 '22 at 04:27
  • Thank you for sharing all of those links/ways to get to the data. I am always surprised on how most cloud apps make it so hard to get to your own comments. – Jeremy Chone Sep 03 '22 at 21:27
  • Yup, I actually had bookmarked those 4 links wayyyy before I wrote that answer. And I remember I looked for those for wayyyy too long to my taste. – Vadorequest Sep 04 '22 at 06:00
  • _"**it's a live feed of all issues you've commented**"_ – Not only issues, but also PRs and only those to which you're **still subscribed**! – EvgenKo423 Nov 18 '22 at 16:54
  • 1
    @wanna_coder101 The 1st and 4th are actually linked under > Manage notifications. ;-) – EvgenKo423 Nov 18 '22 at 16:58
  • @Vadorequest is there also an option to find actions like "thumbs up" or "heart" and so on? I want to find all issue where i added a `Reaction`. – surfmuggle Nov 28 '22 at 08:28
  • Not that I am aware of, here is the list of options available in the "advanced search" and I couldn't find anything about "likes". https://github.com/search/advanced?q=commenter%3AVadorequest+is%3Aissue&type=Issues – Vadorequest Nov 28 '22 at 20:19
19

Type involves:<username> in the search box on the GitHub's main page. This will find all the issues that the specified user commented on, was assigned to or mentioned in.

For example, if the user's name on GitHub is unclebob, the search query should look like:
involves:unclebob
Or when searching information about yourself if you're logged in to GitHub, simply:
involves:@me

Note, that unlike involves similar search qualifiers - author and commenter - will omit certain results from the search:

  • author will find only the issues that were started by the user; if the specified user comments on the issue that was started by someone else, author query won't return it in the search results.
    E.g., compare involves:unclebob and author:unclebob type:issue.

  • commenter will find only those issues where the specified user commented second or later (creator of the first comment in an issue is considered its author and not a commenter); if the user starts an issue and then never comments on it, the commenter query won't return it in the search results.
    E.g., compare involves:unclebob and commenter:unclebob.

In other words, when it comes to searching comments, author and commenter return only a subset of involves' results. So I recommend using involves not to miss anything.

A. Milto
  • 2,253
  • 1
  • 13
  • 19
  • The documentation for `involves`: https://docs.github.com/en/search-github/searching-on-github/searching-issues-and-pull-requests#search-by-a-user-thats-involved-in-an-issue-or-pull-request – mzjn Nov 23 '21 at 06:40
3

Since GitHub Universe 2016, the profile page has changed.

It still has a "Contribution activity" though, which includes your own comments. But you might need to click on "Show more activity" to see past the last few weeks.

And you can email yourself your own activity since last June: "Email updates about your own activity".

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • 14
    I don't see my comments under "Contribution activity", I only see commits and issues I've created. To get the whole picture I have to click "Show more activity" a bunch of times. The whole profile page seems to have undergone a feature regression :-/ – BillyTom Sep 19 '16 at 11:40
  • @BillyTom I agree, that is why I suggest the "mailing list" workaround. – VonC Sep 19 '16 at 11:45
  • 1
    The "mailing list" workaround seems to be the only way to get a full list of your comments. A list of comments for issues, where you have been mentioned, is available through the web interface: [Issues](https://github.com/issues), in case that is enough. Still, that sort of *"streamlined"* UI is a pretty annoying regression, in my opinion anyway. – IInspectable Mar 04 '17 at 12:03
2

If you want a list of all issues where you either created them or were a commenter on them, this link works best:

https://github.com/notifications/subscriptions?reason=author,comment

Ryan
  • 22,332
  • 31
  • 176
  • 357