gh api repos/owner/repo/issues?per_page=100 --jq '.[].number'
Fetch issue numbers with a page size
Requests the issues endpoint with per_page=100 to grab more rows per call, and --jq prints each issue number. Pagination caps REST responses at 30 by default, so raising per_page reduces round trips. Use --paginate to walk all pages automatically.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.