Scroll to navigation

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

NAME

gh-project-item-add - Add a pull request or an issue to a project

SYNOPSIS

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

OPTIONS

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"

URL of the issue or pull request to add to the project

EXAMPLE

# add an item to monalisa's project "1"
gh project item-add 1 --owner monalisa --url https://github.com/monalisa/myproject/issues/23

SEE ALSO

gh-project(1)

May 2024 GitHub CLI v2.49.0