Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I see all the issues I'm watching on Github?

Tags:

github

People also ask

Does GitHub have an issue tracker?

Issues let you track your work on GitHub, where development happens. When you mention an issue in another issue or pull request, the issue's timeline reflects the cross-reference so that you can keep track of related work. To indicate that work is in progress, you can link an issue to a pull request.

How do I access issues on GitHub?

On GitHub.com, navigate to the main page of the repository. Under your repository name, click Issues. Click New issue.

How do I see all projects in GitHub?

in 2020, you click the top right bell, then on the left Manage notifications then Watched Repositories .


You can see all the Github issues you are currently subscribed to at https://github.com/notifications/subscriptions

You can navigate to this page from any page by clicking the notification/bell icon on the top right and then selecting "Manage notifications" > "Subscriptions" from the left menu panel.


Github does not have any option to list all the watched issues.

Marking labels on such issues also does not solve the purpose.

But github sends notification whenever there is any change in the issue. So you can check all the notification at a single place https://github.com/notifications

By default, this will show unread notifications (also indicated by a mailbox with a number in the top right corner). From that page you can choose "All Notifications", or https://github.com/notifications?all=1 to see all the issues being watched that have had at least one update since you subscribed to it.


According to the GitHub API v3 documentation1, there is a way to list subscribed issues in owned repositories, member repositories, and organization repositories. However, it does not list subscribed issues from any arbitrary repository in which you are not involved.

On Unix you can access the API like this (just enter your GitHub password when propmted):

curl --user "MyUserName" https://api.github.com/issues?filter=subscribed

Output:
[
  {
    "url": "https://api.github.com/repos/owner1/repoA/issues/3",
    "repository_url": "https://api.github.com/repos/owner1/repoA",
...etc...

Or use this command to format the output as a list of links to the issues:

curl --user "MyUserName" https://api.github.com/issues?filter=subscribed | \
    grep '"url"' | grep -o 'https://api.github.com/repos/.*/issues/[0-9]*' | \
    sed 's#https://api.github.com/repos/#https://github.com/#'

Output:
https://github.com/owner1/repoA/issues/3
https://github.com/owner1/repoB/issues/14
https://github.com/owner2/repoC/issues/1

1 Since my edit to the first answer mentioning the GitHub API was rejected, I'm adding the examples here.


The following method does not work for subscribe-only issues.

As a workaround you can enter this into the search box, either on https://github.com/, or on https://github.com/issues/

is:open is:issue involves:YourUserName

This will show you all issues in which you are involved in some way, but not issues you are only subscribed to. The GitHub help page states:

The involves qualifier is just a logical OR between the author, assignee, mentions and commenter qualifiers for the same user.


If you want to see all the issues for a certain project that you have been part of i.e, interacted with that issue in any way. Do this;

In the search of Github issues do this.

is:issue commenter:<username here>

This will list all the issues that you are watching.


Seems you can fetch this information via Github API

https://developer.github.com/v3/issues/#parameters

GET /orgs/:org/issues

Parameters
Name    Type    Description
filter  string  Indicates which sorts of issues to return. Can be one of:
* assigned: Issues assigned to you
* created: Issues created by you
* mentioned: Issues mentioning you
* subscribed: Issues you're subscribed to updates for
* all: All issues the authenticated user can see, regardless of participation or creation
Default: assigned