Skip to content

List all issues and pull requests across all repositories #10530

@rolfbjarne

Description

@rolfbjarne

Describe the feature or problem you’d like to solve

It's possible to list all my pull requests across all repositories by going here: https://github.com/pulls (and the same for issues: https://github.com/issues), but there doesn't seem to be a way to get the same list from the command line.

Proposed solution

I guess the main problem here is that if you execute gh outside a repository, it'll be harder to figure out who the current GitHub user is, but a way around this could be to make this work from inside a repository, but adding a flag that returns results from all repositories:

gh pr list --all-repositories
gh issue list --all-repositories

How will it benefit CLI and its users?

I work across multiple repositories, and sometimes it's easy to forget about pull requests I've submitted to repositories I rarely contribute to, and they die the death of the open source limbo. An easy way to list everything would be nice to hopefully avoid this dreadful scenario.

Metadata

Metadata

Assignees

Labels

enhancementa request to improve CLImore-info-neededMore info needed from user/contributorneeds-triageneeds to be reviewed

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions