-
Notifications
You must be signed in to change notification settings - Fork 8.4k
gh issue list -S 'is:pr' returns blank issues #8272
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't workingcoreThis issue is not accepting PRs from outside contributorsThis issue is not accepting PRs from outside contributorsgh-issuerelating to the gh issue commandrelating to the gh issue commandpriority-3Affects a small number of users or is largely cosmeticAffects a small number of users or is largely cosmetic
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcoreThis issue is not accepting PRs from outside contributorsThis issue is not accepting PRs from outside contributorsgh-issuerelating to the gh issue commandrelating to the gh issue commandpriority-3Affects a small number of users or is largely cosmeticAffects a small number of users or is largely cosmetic
Type
Fields
Give feedbackNo fields configured for issues without a type.
Describe the bug
gh issue list -S 'is:pr'returns the correct number of PR issues, but they are all blank. For example:If I combine
-S 'is:pr'with other flags (e.g.--label FOO,-s closed, etc.) I consistently get the expected number of total issues returned, but they are all listed as#0 about 292 years ago. It seems they are all just filled in with default data.I have tried this in several different repositories (including
cli/cli) with the same behavior.Output of
gh --version:gh version 2.37.0 (2023-10-17)Steps to reproduce the behavior
gh repo clone cli/cli && gh issue list -S 'is:pr'Expected vs actual behavior
I expect to see issue numbers, titles, labels, etc. for all the open PRs. I am aware that
gh pr listis available, but it seems likegh issue list -S 'is:pr'should work as well.