gh project item-list adds --query
Introduced 2026-02-18 · score 0.97
HOW TO USE IT
When filtering project items, pass a Projects filter expression to `--query`; advanced search works only if the API host supports it.
gh project item-list <number> --owner <owner> --query "label:bug -status:Done"WHY THIS HELPS
List project items filtered by a query.
REQUIREMENTS AND LIMITATIONS
- Version: v2.87.0
- <number>: Project number.
- --owner <string>: Project owner's login; use `@me` for the current user.
- --query <string>: Filter items using Projects filter syntax, such as `assignee:octocat -status:Done`.
- Prerequisite: GitHub Projects commands require the `project` token scope.
FIRST-PARTY EVIDENCE
- https://github.com/cli/cli/releases/tag/v2.87.0
- https://cli.github.com/manual/gh_project_item-list
- https://cli.github.com/manual/gh_project
Check the installed version and the source before using it. Entry JSON