{"meta":{"title":"Editing an issue","intro":"Learn how to make changes to an existing issue.","product":"GitHub Issues","breadcrumbs":[{"href":"/en/issues","title":"GitHub Issues"},{"href":"/en/issues/tracking-your-work-with-issues","title":"Issues"},{"href":"/en/issues/tracking-your-work-with-issues/using-issues","title":"Using issues"},{"href":"/en/issues/tracking-your-work-with-issues/using-issues/editing-an-issue","title":"Editing an issue"}],"documentType":"article"},"body":"# Editing an issue\n\nLearn how to make changes to an existing issue.\n\n## Editing an issue title\n\nYou can edit an issue's title. The change to the title is added to the issue's timeline.\n\n1. Navigate to the issue you want to edit.\n\n2. To the right of the issue title, click **Edit**.\n\n   ![Screenshot of an issue header, the \"Edit\" button is highlighted with an orange outline.](/assets/images/help/issues/issue-edit-title.png)\n\n3. Type your new title.\n\n4. Click **Save**.\n\n## Editing an issue description\n\nYou can also make changes to the issue description. The edit history is available unless the author or a person with write access removes it. See [Tracking changes in a comment](/en/communities/moderating-comments-and-conversations/tracking-changes-in-a-comment).\n\n1. Navigate to the issue you want to edit.\n\n2. At the top right of the issue description, click <svg version=\"1.1\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" class=\"octicon octicon-kebab-horizontal\" aria-label=\"Issue body actions\" role=\"img\"><path d=\"M8 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM1.5 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm13 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z\"></path></svg>.\n\n   ![Screenshot of an issue description. The \"Issue body actions\" button is highlighted with an orange outline.](/assets/images/help/issues/issue-edit-description.png)\n\n3. In the menu, click **<svg version=\"1.1\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" class=\"octicon octicon-pencil\" aria-label=\"pencil\" role=\"img\"><path d=\"M11.013 1.427a1.75 1.75 0 0 1 2.474 0l1.086 1.086a1.75 1.75 0 0 1 0 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 0 1-.927-.928l.929-3.25c.081-.286.235-.547.445-.758l8.61-8.61Zm.176 4.823L9.75 4.81l-6.286 6.287a.253.253 0 0 0-.064.108l-.558 1.953 1.953-.558a.253.253 0 0 0 .108-.064Zm1.238-3.763a.25.25 0 0 0-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 0 0 0-.354Z\"></path></svg> Edit**.\n\n4. Type your changes to the issue description.\n\n5. Click **Save**.\n\n## Adding or changing the issue type\n\nYou can add an issue type or make changes to an existing issue type.\n\n1. Navigate to the issue you want to edit.\n\n2. To the right of the issue, in the sidebar, click **Type**.\n\n   ![Screenshot of an issue sidebar. The \"Add issue type\" button is highlighted with an orange outline.](/assets/images/help/issues/issue-add-type.png)\n\n3. In the list, select a new issue type.\n\n4. Click **Save**.\n\n## Editing an issue with GitHub CLI\n\nGitHub CLI is an open source tool for using GitHub from your computer's command line. When you're working from the command line, you can use the GitHub CLI to save time and avoid switching context. To learn more about GitHub CLI, see [About GitHub CLI](/en/github-cli/github-cli/about-github-cli).\n\n### Editing a single issue\n\nTo edit an issue, use the `gh issue edit` subcommand with the issue number or URL.\n\n```shell\ngh issue edit ISSUE-NUMBER --title \"TITLE\" --body \"ISSUE-DESCRIPTION\"\n```\n\n### Editing multiple issues\n\nYou can pass multiple issue numbers to apply the same change to several issues at once.\n\n```shell\ngh issue edit ISSUE-NUMBER-1 ISSUE-NUMBER-2 --add-label \"LABEL\"\n```\n\n### Editing the issue type\n\nTo set or remove the issue type, use the `--type` or `--remove-type` flag.\n\n```shell\ngh issue edit ISSUE-NUMBER --type \"ISSUE-TYPE\"\ngh issue edit ISSUE-NUMBER --remove-type\n```\n\n### Editing the parent issue\n\nTo set or remove the parent issue, use the `--parent` or `--remove-parent` flag. The parent can be specified by issue number or URL.\n\n```shell\ngh issue edit ISSUE-NUMBER --parent PARENT-ISSUE-NUMBER\ngh issue edit ISSUE-NUMBER --remove-parent\n```\n\n### Editing sub-issues\n\nTo add or remove sub-issues, use the `--add-sub-issue` or `--remove-sub-issue` flag with a comma-separated list of issue numbers or URLs.\n\n```shell\ngh issue edit PARENT-ISSUE-NUMBER --add-sub-issue SUB-ISSUE-NUMBER\ngh issue edit PARENT-ISSUE-NUMBER --remove-sub-issue SUB-ISSUE-NUMBER\n```\n\n### Editing dependencies\n\nTo manage dependencies, use the `--add-blocked-by`, `--remove-blocked-by`, `--add-blocking`, and `--remove-blocking` flags. Each accepts a comma-separated list of issue numbers or URLs.\n\n```shell\ngh issue edit ISSUE-NUMBER --add-blocked-by BLOCKED-BY-ISSUE-NUMBER --add-blocking BLOCKING-ISSUE-NUMBER\n```\n\n## Further reading\n\n* [Closing an issue](/en/issues/tracking-your-work-with-issues/administering-issues/closing-an-issue)\n* [Deleting an issue](/en/issues/tracking-your-work-with-issues/administering-issues/deleting-an-issue)"}