GH-PROJECT-ITEM-CREATE(1)
π gh-project-item-create π
ok so bestie, welcome to the gh-project-item-create page from the GitHub CLI manual β yes that's the whole title, and yes you're gonna read it, because this little command is literally the moment you get to drop a draft issue into a project board without ever leaving your terminal. main character energy fr. π
β¨ NAME β¨
gh-project-item-create β create a draft issue item in a project π¦
β¨ SYNOPSIS β¨
gh project item-create [<number>] [flags]
ok so the [<number>] is the project number, and it's in brackets so it's optional β the flags are where the real magic happens, iykyk β¨
β¨ OPTIONS β¨
--body <string>β the body text for your draft issue. this is the content, the substance, the lore π--format <string>β output format. and the value is literally{json}β that's it, that's the one option. slay.-q,--jq <expression>β filter that JSON output using ajqexpression. obsessed, honestly β you get to slice and dice the response however you want π₯--owner <string>β login of the owner. and here's the cute part: use"@me"for the current user π«Ά (yes,@meliterally means you, go off)-t,--template <string>β format JSON output using a Go template. also, heads up: seegh help formattingfor the deets π--title <string>β title for the draft issue. give it a name, bestie, it deserves one π
β¨ EXIT CODES β¨
ok so when the command finishes, it tells you how it went with one of these numbers. vibe check time:
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 β don't come for me, that's just what the page says π
β¨ EXAMPLE β¨
here's the whole thing in action, no cap:
# 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"
look at that. project 1, owner @me, title "new item", body "new item body". confusing naming? maybe. iconic? absolutely β
β¨ SEE ALSO β¨
gh-project(1)β the big sibling page, go read it next π
and that's the whole page, bestie π it's giving GitHub CLI v2.102.0, dated Oct 2026 β mwah, go create some draft issues, you're gonna eat π β¨π
π¦ where this page comes from
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms