Scroll to navigation

GH-ISSUE-LIST(1) GitHub CLI manual GH-ISSUE-LIST(1)

NAME

gh-issue-list - List issues in a repository

SYNOPSIS

gh issue list [flags]

DESCRIPTION

List issues in a GitHub repository.

The search query syntax is documented here:

⟨https://docs.github.com/en/search-github/searching-on-github/searching-issues-and-pull-requests⟩

OPTIONS

Filter by GitHub App author

Filter by assignee

Filter by author

Filter JSON output using a jq expression

Output JSON with the specified fields

Filter by label

Maximum number of issues to fetch

Filter by mention

Filter by milestone number or title

Search issues with query

Filter by state: {open|closed|all}

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

List issues in the web browser

OPTIONS INHERITED FROM PARENT COMMANDS

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

EXAMPLE

$ gh issue list --label "bug" --label "help wanted"
$ gh issue list --author monalisa
$ gh issue list --assignee "@me"
$ gh issue list --milestone "The big 1.0"
$ gh issue list --search "error no:assignee sort:created-asc"

SEE ALSO

gh-issue(1)

Mar 2024