Scroll to navigation

GH-PROJECT-ITEM-CREATE(1) GitHub CLI manual GH-PROJECT-ITEM-CREATE(1)

NAME

gh-project-item-create - Create a draft issue item in a project

SYNOPSIS

gh project item-create [<number>] [flags]

OPTIONS

Body for the draft issue

Output format: {json}

Filter JSON output using a jq expression

Login of the owner. Use "@me" for the current user.

Format JSON output using a Go template; see "gh help formatting"

Title for the draft issue

EXAMPLE

# create a draft issue in the current user's project "1"
gh project item-create 1 --owner "@me" --title "new item" --body "new item body"

SEE ALSO

gh-project(1)

Jul 2024 GitHub CLI v2.52.0