Skip to main content

Эта версия GitHub Enterprise Server была прекращена 2024-03-26. Исправления выпускаться не будут даже при критических проблемах безопасности. Для повышения производительности, повышения безопасности и новых функций выполните обновление до последней версии GitHub Enterprise Server. Чтобы получить справку по обновлению, обратитесь в службу поддержки GitHub Enterprise.

Удаление проблемы

Пользователи с разрешениями администратора в репозитории могут удалить проблему из репозитория без возможности восстановления.

The ability to delete issues depends on whether the repository is owned by a personal account or an organization:

  • The only account that can delete issues in a repository owned by a personal account is that account.

  • Only accounts with admin or owner permissions can delete issues in a repository owned by an organization.

    To delete an issue in a repository owned by an organization, an organization owner must enable deleting issues for the organization's repositories. For more information, see "Allowing people to delete issues in your organization" and "Repository roles for an organization."

Collaborators do not receive a notification when issues are deleted. When visiting the URL of a deleted issue, collaborators will see a message stating that the web page can't be found (but they can use the API to determine that it was deleted). People with admin or owner permissions in the repository will additionally see the username of the person who deleted the issue and when it was deleted.

  1. Navigate to the issue you want to delete.

  2. On the right side bar, under "Notifications", click Delete issue.

    Screenshot of the issue sidebar. A trash can icon and "Delete issue" are outlined in dark orange.

  3. To confirm deletion, click Delete this issue.

Further reading