{
  "slug": "glab-work-items-list-date-filters-41aae5e5211b",
  "title": "glab work-items list date filters",
  "tools": [
    "glab"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-11-02T12:56:55.029Z",
  "announced_at": "2026-11-02T12:56:55.029Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "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.",
    "examples": [
      "glab work-items list --created-after -7d -g <group> --output json",
      "glab work-items list --due-after 0d --due-before 2w -g <group> --output json",
      "glab work-items list --state closed --closed-after 2026-01-01 --closed-before 2026-04-01 -g <group> --output json"
    ],
    "gotchas": [
      "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."
    ]
  },
  "why_it_matters": "Filter listed work items by date in a repository workflow.",
  "sources": [
    "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"
  ],
  "rank": 0.97043,
  "review_state": "approved",
  "provenance": {
    "run_id": "daily-20261102-13",
    "verdict_id": "daily-20261102-13:daily-20261102-13-c18521a6e759018d-9:rescue",
    "evidence_hash": "40212059c224388bc1039b4bd1d673da2b79b0861b880418964c399b480d1ff8"
  }
}
