gh-issue-artifact-list(1)
| GH-ISSUE-ARTIFACT-LIST(1) | GitHub CLI manual | GH-ISSUE-ARTIFACT-LIST(1) |
NAME
gh-issue-artifact-list - List artifacts on an issue (preview)
SYNOPSIS
gh issue artifact list {<issue-number> | <issue-url>} [flags]
DESCRIPTION
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 CODES
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.
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
SEE ALSO
gh-issue-artifact(1)
| Oct 2026 | GitHub CLI v2.103.3 |
