How to completely remove an issue from GitHub?

2019-01-12 16:30发布

Is it possible to completely remove an issue from the GitHub issue tracker?

9条回答
我欲成王,谁敢阻挡
2楼-- · 2019-01-12 17:02

Update Nov 2018: You now can delete your issues!
See "Github - remove issues entered in error"

Issue deletion


At May 2018, original answer:

Three 8 years later, and closing issues remains the answer (still no deletion possible).
See "The Ghost of Issues Past", where GitHub advise to check and close:

查看更多
甜甜的少女心
3楼-- · 2019-01-12 17:02

No, the github API only allows you to open/close/reopen issues. Here's the Issues API docs.

查看更多
贼婆χ
4楼-- · 2019-01-12 17:02

Public feature request

I wrote to GitHub in 2014-08 and https://github.com/jdennes replied by email:

Thanks for the suggestion. It's only possible to edit/clear the issue content currently. However I've added a +1 to this suggestion on our internal Feature Request List.

confirming it was not possible.

Best workaround so far

  • set the title to something that will never conflict with any search, e.g. a single dot ..

    This may not hide the history of your blunder entirely because of the automatic undeletable "changed the title to" comments.

  • make the body empty

GitHub staff has the power

If something is a security issue, contact GitHub staff, they usually reply quickly, and are able to remove issues for good as can be seen at: http://archive.is/OfjVt which has issue 1 and 3 but no 2.

查看更多
时光不老,我们不散
5楼-- · 2019-01-12 17:02

You could by just asking to github to ban the user that created the issue

查看更多
Animai°情兽
6楼-- · 2019-01-12 17:15

Users are unable to do this, including repository owner.

But issues can be deleted by Github support. One may contact them and request deletion. It may be delayed or refused but it is an available option that can be used.

查看更多
仙女界的扛把子
7楼-- · 2019-01-12 17:16

You can delete the entire repo if it's really important.

查看更多
登录 后发表回答