gh-issue - Man Page
Manage issues
Examples (TL;DR)
- Display a specific issue: gh issue view issue_number
- Display a specific issue in the default web browser: gh issue view issue_number [-w|--web]
- Create a new issue in the default web browser: gh issue [new|create] [-w|--web]
- List the last 10 issues with the buglabel:gh issue [ls|list] [-L|--limit] 10 [-l|--label] "bug"
- List closed issues made by a specific user: gh issue [ls|list] [-s|--state] closed [-A|--author] username
- Display the status of issues relevant to the user, in a specific repository: gh issue status [-R|--repo] owner/repository
- Reopen a specific issue: gh issue reopen issue_number
Synopsis
gh issue <command> [flags]
Description
Work with GitHub issues.
General Commands
- gh-issue-create(1)
- Create a new issue 
- gh-issue-list(1)
- List issues in a repository 
- gh-issue-status(1)
- Show status of relevant issues 
Targeted Commands
- gh-issue-close(1)
- Close issue 
- gh-issue-comment(1)
- Add a comment to an issue 
- gh-issue-delete(1)
- Delete issue 
- gh-issue-develop(1)
- Manage linked branches for an issue 
- gh-issue-edit(1)
- Edit issues 
- gh-issue-lock(1)
- Lock issue conversation 
- gh-issue-pin(1)
- Pin a issue 
- gh-issue-reopen(1)
- Reopen issue 
- gh-issue-transfer(1)
- Transfer issue to another repository 
- gh-issue-unlock(1)
- Unlock issue conversation 
- gh-issue-unpin(1)
- Unpin a issue 
- gh-issue-view(1)
- View an issue 
Options
- -R, --repo <[HOST/]OWNER/REPO>
- Select another repository using the [HOST/]OWNER/REPO format 
Exit Codes
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.
Example
$ gh issue list $ gh issue create --label bug $ gh issue view 123 --web
See Also
Referenced By
gh(1), gh-issue-close(1), gh-issue-comment(1), gh-issue-create(1), gh-issue-delete(1), gh-issue-develop(1), gh-issue-edit(1), gh-issue-list(1), gh-issue-lock(1), gh-issue-pin(1), gh-issue-reopen(1), gh-issue-status(1), gh-issue-transfer(1), gh-issue-unlock(1), gh-issue-unpin(1), gh-issue-view(1).