{
  "slug": "gh-adds-issue-artifact-management-commands-a356f94e8c8c",
  "title": "gh adds issue artifact management commands",
  "tools": [
    "gh"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-10-28T15:30:00.000Z",
  "announced_at": "2026-10-28T15:30:00.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When an issue has artifacts to manage, use `gh issue artifact` subcommands to create, edit, list, view, download, or delete them; identify artifacts by GitHub URL and use `--attach` for image or video files in Markdown documents.",
    "examples": [
      "gh issue artifact create <issue-number-or-url> <markdown-file> --attach <image-or-video-file>",
      "gh issue artifact list <issue-number-or-url> --json number,name,type",
      "gh issue artifact download <artifact-url> --output -"
    ],
    "gotchas": [
      "Availability: public preview",
      "Non-interactive: `gh issue artifact delete` supports `--yes` to confirm deletion without prompting.",
      "Non-interactive: `gh issue artifact download --output -` writes the artifact content to stdout.",
      "Non-interactive: `gh issue artifact create --body-file -` reads artifact content from standard input.",
      "--attach <file>: Attach an image or video; format `<file>#<image alt text>`.",
      "--json <fields>: Output selected fields as JSON.",
      "--output <file>: Write a single downloaded artifact to a file; `-` writes to stdout.",
      "Prerequisite: Issue artifacts are in preview; the 2.103.2 release notes say the commands work only for repositories enrolled in the private preview.",
      "Markdown documents support image and video attachments with `--attach`."
    ]
  },
  "why_it_matters": "Manage artifacts associated with issues while maintaining a repository’s development workflow.",
  "sources": [
    "https://github.blog/changelog/2026-10-28-issue-artifacts-are-now-in-public-preview",
    "https://cli.github.com/manual/gh_issue_artifact_create",
    "https://cli.github.com/manual/gh_issue_artifact_list",
    "https://cli.github.com/manual/gh_issue_artifact_download",
    "https://github.com/cli/cli/releases"
  ],
  "rank": 0.98056,
  "review_state": "approved",
  "provenance": {
    "run_id": "daily-20261028-20",
    "verdict_id": "daily-20261028-20:daily-20261028-20-1ccc8689b9885cba-0:gate",
    "evidence_hash": "7cdb89a3682d2b08fbbc697b9c67b775bc98d555705740c4062921017bbba333"
  }
}
