Edit Issue Guide (Non-Interactive)
Follow this guide to edit GitHub issues using gh issue edit. All operations are command-line only — no interactive editors.
Marty Issue Title Format
All issue titles MUST use the format: [<Type>]: <Title>
See labels.md for the complete list of all Marty labels.
Edit Commands
Edit Title
gh issue edit 23 --title "[bug]: login fails on mobile"
Edit Body
gh issue edit 23 --body "Updated description"
# From file
gh issue edit 23 --body-file "body.md"
Add Labels
# Add single label
gh issue edit 23 --add-label "priority/p1"
# Add multiple labels
gh issue edit 23 --add-label "bug,priority/p1"
# Add and remove in same command
gh issue edit 23 --add-label "status/in-progress" --remove-label "status/triaged"
Remove Labels
# Remove single label
gh issue edit 23 --remove-label "help wanted"
# Remove multiple labels
gh issue edit 23 --remove-label "bug,wontfix"
Add Assignees
# Self-assign
gh issue edit 23 --add-assignee "@me"
# Assign Copilot
gh issue edit 23 --add-assignee "@copilot"
# Assign multiple people
gh issue edit 23 --add-assignee "username1,username2"
Remove Assignees
# Unassign self
gh issue edit 23 --remove-assignee "@me"
# Remove multiple assignees
gh issue edit 23 --remove-assignee "username1,username2"
Edit Milestone
# Set milestone
gh issue edit 23 --milestone "v1.0"
# Remove milestone
gh issue edit 23 --remove-milestone
Add/Remove Projects
# Add to project
gh issue edit 23 --add-project "Roadmap"
# Remove from project
gh issue edit 23 --remove-project "Roadmap"
Multiple Edits
# Multiple changes at once
gh issue edit 23 --title "[bug]: login fixed" --add-label "status/done" --remove-label "status/in-progress"
Common Workflows
Mark Issue as In Progress
gh issue edit 23 --add-label "status/in-progress" --add-assignee "@me"
Mark Issue as Done
gh issue edit 23 --remove-label "status/in-progress" --add-label "status/done"
Change Priority
gh issue edit 23 --add-label "priority/p0" --remove-label "priority/p2"
Reassign Issue
gh issue edit 23 --add-assignee "newowner" --remove-assignee "oldowner"
Update Status
# Triaged -> In Progress
gh issue edit 23 --remove-label "status/triaged" --add-label "status/in-progress"
# In Progress -> In Review
gh issue edit 23 --remove-label "status/in-progress" --add-label "status/in-review"
Quick Reference
Edit title: gh issue edit 23 --title "[type]: title"
Edit body: gh issue edit 23 --body "body"
Add label: gh issue edit 23 --add-label "label"
Remove label: gh issue edit 23 --remove-label "label"
Self-assign: gh issue edit 23 --add-assignee "@me"
Add milestone: gh issue edit 23 --milestone "v1.0"
Remove milestone: gh issue edit 23 --remove-milestone
Multiple edits: gh issue edit 23 --title "..." --add-label "..." --remove-label "..."
Related Skills
| Skill | When to Use |
|---|---|
/create-issue |
Create new issues |
/close-issue |
Close issues |