gh-project-item-add - Man Page

Add a pull request or an issue to a project

Synopsis

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

Options

--format <string>

Output format: {json}

-q, --jq <expression>

Filter JSON output using a jq expression

--owner <string>

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

-t, --template <string>

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

--url <string>

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)

Referenced By

gh-project(1).

Jul 2024 GitHub CLI manual