GH-ISSUE-ARTIFACT-LIST(1)
π GH-ISSUE-ARTIFACT-LIST(1) β the GitHub CLI manual, bestie edition π
okay so real talk: this is a page from the GitHub CLI manual (yes, that GitHub CLI), and it's all about listing the artifacts hanging out on an issue. buckle up π¦
β¨ NAME β¨
gh-issue-artifact-list β literally just lists artifacts on an issue (and it's in preview, so likeβ¦ behave accordingly π)
πΈ SYNOPSIS πΈ
gh issue artifact list {<issue-number> | <issue-url>} [flags]
you give it either an <issue-number> or an <issue-url>, plus whatever [flags] your heart desires π
π¦ DESCRIPTION π¦
here's the vibe: this command lists the artifacts on an issue, and it does it in number order. every single artifact gets listed unless you go out of your way and set --limit. that's it, that's the whole plot π«Ά
π OPTIONS π
-q,--jq <expression>β filter the JSON output with a jq expression. yes, the jq you know and love π--json <fields>β spit out JSON with the fields you specify. you pick, it ships β¨-L,--limit <int>(default0) β max number of artifacts to fetch. default is0, so by default you get everything β see above π-t,--template <string>β format the JSON output with a Go template. for the deets, peepgh help formattingπ--type <string>β filter by type, and the type's gotta be one of:{generic|plan|link|embedded_html}π₯
π OPTIONS INHERITED FROM PARENT COMMANDS π
-R,--repo <[HOST/]OWNER/REPO>β pick a different repo using the[HOST/]OWNER/REPOformat. inherited from the parent, still slays π
π ALIASES π
gh issue artifact ls
yup β ls is the short lil nickname, iykyk π
β JSON FIELDS β
here's the whole field roster, no cap:
body, bodyHtml, createdAt, creator, description, id, name, number, type, updatedAt, updatedByActor, url
pick from these when you're doing the --json thing π«
π§ EXIT CODES π§
0β successful execution π1β error π2β command canceled π4β authentication required π
NOTE: some specific commands may have additional exit codes, so likeβ¦ check that command's help for more info, bestie π«Ά
π₯ EXAMPLE π₯
# List the artifacts on issue 142
$ gh issue artifact list 142
# List only links
$ gh issue artifact list 142 --type link
# Print artifact numbers and names as JSON
$ gh issue artifact list 142 --json number,name
obsessed with how clean that is, honestly πΈ
π SEE ALSO π
aaaaand that's the whole page, bestie π this was GitHub CLI 2.103.3, dated Oct 2026 β no cap, that's the version and the date, go off πβ¨π¦
π¦ where this page comes from
- nixos 26.05: gh 2.103.3
- nixpkgs unstable: gh 2.103.3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms