OS Manuals

gh-issue-list(1)

gh-issue-list - List issues in a repository

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

gh-issue-list - List issues in a repository

gh issue list [flags]

List issues in a GitHub repository. By default, this only lists open issues.

The search query syntax is documented here:

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

On supported GitHub hosts, advanced issue search syntax can be used in the --search query. For more information about advanced issue search, see:

⟨https://docs.github.com/en/issues/tracking-your-work-with-issues/using-issues/filtering-and-searching-issues-and-pull-requests#building-advanced-filters-for-issues⟩

Filter by GitHub App author

Filter by assignee

Filter by author (use --app to filter by a GitHub App)

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"

Filter by issue type name

List issues in the web browser

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

gh issue ls

assignees, author, blockedBy, blocking, body, closed, closedAt, closedByPullRequestsReferences, comments, createdAt, id, isPinned, issueType, labels, milestone, number, parent, projectCards, projectItems, reactionGroups, state, stateReason, subIssues, subIssuesSummary, title, updatedAt, url

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.

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

gh-issue(1)

Oct 2026

gh 2.103.3-r0 · os · ingested 2026-10-28