gh issue create

Open a new issue

What it does

gh issue create opens an issue: a task, a bug or an idea. With no flags it asks for the title and the description, which you can write in an editor. Give only --title, and it still asks for the description.

--label adds a label, --assignee @me assigns the issue to you, and --web opens the form in the browser, useful when the repository has issue templates.

Syntax

gh issue create
gh issue create --title "<title>" --label <label>
gh issue create --title "<title>" --body "<description>"

Examples

Related commands

Practise · All commands