GH-PROJECT-ITEM-EDIT(1) GitHub CLI manual GH-PROJECT-ITEM-EDIT(1) NAME gh-project-item-edit - Edit an item in a project SYNOPSIS gh project item-edit [flags] DESCRIPTION Edit either a draft issue or a project item. Both usages require the ID of the item to edit. For non-draft issues, the ID of the project is also required, and only a single field value can be updated per invocation. Remove project item field value using --clear flag. OPTIONS --body Body of the draft issue item --clear Remove field value --date Date value for the field (YYYY-MM-DD) --field-id ID of the field to update --format Output format: {json} --id ID of the item to edit --iteration-id ID of the iteration value to set on the field -q, --jq Filter JSON output using a jq expression --number (default 0) Number value for the field --project-id ID of the project to which the field belongs to --single-select-option-id ID of the single select option value to set on the field -t, --template Format JSON output using a Go template; see "gh help formatting" --text Text value for the field --title Title of the draft issue item EXIT CODES 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. EXAMPLE # Edit an item's text field value $ gh project item-edit --id --field-id --project-id --text "new text" # Clear an item's field value $ gh project item-edit --id --field-id --project-id --clear SEE ALSO gh-project(1) Jul 2025 GH-PROJECT-ITEM-EDIT(1)