![]() |
![]()
| ![]() |
![]()
NAMEgh-search-issues - Search for issues SYNOPSISgh search issues [<query>] [flags] DESCRIPTIONSearch for issues on GitHub. The command supports constructing queries using the GitHub search syntax, using the parameter and qualifier flags, or a combination of the two. GitHub search syntax is documented at: ⟨https://docs.github.com/search-github/searching-on-github/searching-issues-and-pull-requests⟩ OPTIONS
JSON FIELDSassignees, author, authorAssociation, body, closedAt, commentsCount, createdAt, id, isLocked, isPullRequest, labels, number, repository, state, title, updatedAt, url EXIT CODES0: 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# Search issues matching set of keywords "readme" and "typo" $ gh search issues readme typo # Search issues matching phrase "broken feature" $ gh search issues "broken feature" # Search issues and pull requests in cli organization $ gh search issues --include-prs --owner=cli # Search open issues assigned to yourself $ gh search issues --assignee=@me --state=open # Search issues with numerous comments $ gh search issues --comments=">100" # Search issues without label "bug" $ gh search issues -- -label:bug # Search issues only from un-archived repositories (default is all repositories) $ gh search issues --owner github --archived=false SEE ALSOgh-search(1)
|