{
  "slug": "glab-templates-accept-file-paths-with-template-c7a2ba89ffd5",
  "title": "glab templates accept file paths with --template",
  "tools": [
    "glab"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-10-20T12:17:01.108Z",
  "announced_at": "2026-10-20T12:17:01.108Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When creating an issue or merge request with a description template, pass its file path to `--template`.",
    "examples": [
      "glab issue create -t \"<title>\" --template \"<repository-file-path>\"",
      "glab mr create -t \"<title>\" --template \"<repository-file-path>\""
    ],
    "gotchas": [
      "Version: v1.124.0",
      "--template <path> (required): Pre-populates the description. An absolute path or a value containing a path separator is read as a file path.",
      "-t, --title <title>: Sets the issue title.",
      "-t, --title <title>: Sets the merge request title.",
      "Prerequisite: For a path relative to the repository, run the command from that local repository; the docs specify that templates are looked up in its template directory or read as a file path."
    ]
  },
  "why_it_matters": "Render output using a template stored in a repository file.",
  "sources": [
    "https://gitlab.com/gitlab-org/cli/-/releases/v1.124.0",
    "https://docs.gitlab.com/cli/issue/create/",
    "https://docs.gitlab.com/cli/mr/create/"
  ],
  "rank": 0.95036,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "daily-20261026-04",
    "verdict_id": "daily-20261026-04:daily-20261026-04-e5065fc863512103-14:gate",
    "evidence_hash": "fa4a166337d26330beab73e6d1198ebd3afe3da9367c7e856bd71ba7d214416b"
  },
  "review": {
    "draft_hash": "1eec08f7b3c7041085f44d210271e9bec700ff87ff2f6d9b31147797d8d8f7de",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-20T12:17:01.108Z",
    "decision": "daily-20261026-04:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.95 >= 0.9; 2 needed) and Jev gave 0.68 (>= 0.6 needed)."
  }
}
