glab work-items list date filters
Introduced 2026-11-02 · score 0.97
HOW TO USE IT
When filtering work items by date, run `glab work-items list` with the relevant date-bound flags and a project or group scope. Use `--output json` for machine-readable results.
glab work-items list --created-after -7d -g <group> --output jsonglab work-items list --due-after 0d --due-before 2w -g <group> --output jsonglab work-items list --state closed --closed-after 2026-01-01 --closed-before 2026-04-01 -g <group> --output jsonWHY THIS HELPS
Filter listed work items by date in a repository workflow.
REQUIREMENTS AND LIMITATIONS
- Version: v1.127.0
- --created-after / --created-before: Creation date lower bound inclusive / upper bound exclusive; supports absolute, RFC 3339, or relative dates.
- --updated-after / --updated-before: Update date lower bound inclusive / upper bound exclusive; supports absolute, RFC 3339, or relative dates.
- --due-after / --due-before: Due date lower bound inclusive / upper bound exclusive; supports absolute, RFC 3339, or relative dates.
- --closed-after / --closed-before: Closed date lower bound inclusive / upper bound exclusive; implies closed state unless `--state` is set.
- -g, --group: Select a group or subgroup scope.
- -F, --output: Choose text or JSON output; defaults to text.
- Prerequisite: Date filters require GitLab 19.4 or later; relative dates require GitLab 19.6 or later.
FIRST-PARTY EVIDENCE
- https://gitlab.com/gitlab-org/cli/-/releases/v1.127.0
- https://gitlab.com/gitlab-org/cli/-/raw/v1.127.0/docs/source/work-items/list.md
Check the installed version and the source before using it. Entry JSON