{
  "slug": "glab-work-items-create-and-update-accept-parent-8083f352564d",
  "title": "glab work-items create and update accept --parent",
  "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 creating or updating a work item, pass `--parent` with its parent’s ID, reference, or URL to set the parent.",
    "examples": [
      "glab work-items create --type <type> --title \"<title>\" --parent <parent-id-reference-or-url>",
      "glab work-items update <iid> --parent <parent-id-reference-or-url>"
    ],
    "gotchas": [
      "Version: v1.127.0",
      "--parent <string>: Set the parent by ID, reference, or URL.",
      "Prerequisite: Work-items commands are experimental."
    ]
  },
  "why_it_matters": "Set or change a parent while creating or updating a work item.",
  "sources": [
    "https://gitlab.com/gitlab-org/cli/-/releases/v1.127.0",
    "https://docs.gitlab.com/cli/work-items/create/",
    "https://docs.gitlab.com/cli/work-items/update/"
  ],
  "rank": 0.97031,
  "review_state": "approved",
  "provenance": {
    "run_id": "daily-20261102-13",
    "verdict_id": "daily-20261102-13:daily-20261102-13-c18521a6e759018d-8:gate",
    "evidence_hash": "40212059c224388bc1039b4bd1d673da2b79b0861b880418964c399b480d1ff8"
  }
}
