gh-issue-artifact-list(1)

gh-issue-artifact-list1

List artifacts on an issue (preview)

Usage

gh issue artifact list {<issue-number> | <issue-url>} [flags]

Overview

List the artifacts on an issue, in number order. Every artifact is listed unless you set --limit.

Options

-q, --jq <expression>

Filter JSON output using a jq expression

--json <fields>

Output JSON with the specified fields

-L, --limit <int> (default 0)

Maximum number of artifacts to fetch

-t, --template <string>

Format JSON output using a Go template; see "gh help formatting"

--type <string>

Filter by type: {generic|plan|link|embedded_html}

Options inherited from parent commands

-R, --repo <[HOST/]OWNER/REPO>

Select another repository using the [HOST/]OWNER/REPO format

Aliases

gh issue artifact ls

Json fields

body, bodyHtml, createdAt, creator, description, id, name, number, type, updatedAt, updatedByActor, url

Exit status

0: Successful execution

1: Error

2: Command canceled

4: Authentication required

NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information.

Examples

# 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

From github-cli 2.103.3-1 in Arch Linux 2026-11-07. Parsed by carta from the page's man source.