-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Closed
Labels
coreThis issue is not accepting PRs from outside contributorsThis issue is not accepting PRs from outside contributorsenhancementa request to improve CLIa request to improve CLI
Description
This is a tracking ticket listing all the filtering options for issues and pull request currently available on GitHub and the status of their availability in GitHub CLI. (Checked means implemented and merged to master.)
We do not plan to explicitly support all these filtering options in CLI. We will select those that we intend to implement on a case-by-case basis.
Filtering options available through GitHub web UI
Issues
- assignee
--assignee, -a - assigned to the current authenticating user
- no assignee
-
labels--label, -l("OR" logic) - labels
--label, -l("AND" logic) BUG: gh pr list and issue list --label uses OR logic instead of AND logic #419 - excluding a label
- no label
- state
--state, -s - author
--author, -AAdd filter issues by author #625 - authored by the current authenticating user
- mentioning user
- mentioning the the current authenticating user
- mentioning team
- project
- no project
- milestone
- no milestone
Pull requests
- assignee
--assignee, -a - assigned to the current authenticating user
- no assignee
-
labels--label, -l("OR" logic) - labels
--label, -l("AND" logic) BUG: gh pr list and issue list --label uses OR logic instead of AND logic #419 - excluding a label
- no label
- state
--state, -s - author
--author, -A - authored by the current authenticating user
- mentioning {user|team}
- mentioning the current authenticating user
- project
- no project
- milestone
- no milestone
- review status
- no reviews
- review required
- approved
- changes requested
- reviewed by {user|team}
- reviewed by the current authenticating user
- not reviewed by {user|team}
- not reviewed by the current authenticating user
- awaiting review from {user|team}
- awaiting review from the current authenticating user
Filtering options available through advanced search syntax
Issues
- commented on by {user}
- number of comments
- number of interactions
- number of reactions
- involves {user}
- linked issue/pull request
- date created
- date updated
- date closed
Pull requests
- commented on by {user}
- number of comments
- number of interactions
- number of reactions
- involves {user}
- linked issue/pull request
- date created
- date updated
- date closed
- date merged
- search by commit SHA
- draft status
- base branch
--base, -B - head branch
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
coreThis issue is not accepting PRs from outside contributorsThis issue is not accepting PRs from outside contributorsenhancementa request to improve CLIa request to improve CLI