.nh .TH "GH-ISSUE-LIST" "1" "Mar 2024" "" "GitHub CLI manual" .SH NAME .PP gh-issue-list - List issues in a repository .SH SYNOPSIS .PP \fBgh issue list [flags]\fR .SH DESCRIPTION .PP List issues in a GitHub repository. .PP The search query syntax is documented here: \[la]https://docs.github.com/en/search\-github/searching\-on\-github/searching\-issues\-and\-pull\-requests\[ra] .SH OPTIONS .TP \fB--app\fR \fB\fR Filter by GitHub App author .TP \fB-a\fR, \fB--assignee\fR \fB\fR Filter by assignee .TP \fB-A\fR, \fB--author\fR \fB\fR Filter by author .TP \fB-q\fR, \fB--jq\fR \fB\fR Filter JSON output using a jq expression .TP \fB--json\fR \fB\fR Output JSON with the specified fields .TP \fB-l\fR, \fB--label\fR \fB\fR Filter by label .TP \fB-L\fR, \fB--limit\fR \fB (default 30)\fR Maximum number of issues to fetch .TP \fB--mention\fR \fB\fR Filter by mention .TP \fB-m\fR, \fB--milestone\fR \fB\fR Filter by milestone number or title .TP \fB-S\fR, \fB--search\fR \fB\fR Search issues with query .TP \fB-s\fR, \fB--state\fR \fB (default "open")\fR Filter by state: {open|closed|all} .TP \fB-t\fR, \fB--template\fR \fB\fR Format JSON output using a Go template; see "gh help formatting" .TP \fB-w\fR, \fB--web\fR List issues in the web browser .SH OPTIONS INHERITED FROM PARENT COMMANDS .TP \fB-R\fR, \fB--repo\fR \fB<[HOST/]OWNER/REPO>\fR Select another repository using the [HOST/]OWNER/REPO format .SH EXAMPLE .EX $ 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" .EE .SH SEE ALSO .PP \fBgh-issue(1)\fR