Github - remove issues entered in error

Since Nov. 2018 and this tweet... you now can delete issues (if you are an Administrator/owner of a GitHub project)

The tweet read:

You've been asking for it.

You know the issue(s).

Delete 'em. 🚮

https://pbs.twimg.com/media/Dra0v6nVYAA-MuE.jpg

Warning: there is no "Undo" for now.

This is in public beta and the documentation is "Deleting an issue"

When you delete an issue, collaborators do not receive a notification. If you visit the URL of a deleted issue, you'll see a message that says the issue was deleted.

By default, you can only delete issues in a repository owned by your user account. As a collaborator in a repository owned by an individual user account, you cannot delete issues.


There is no way to actually delete the issues. What you can do, to indicate that this was a spam attack, is create a new label. You can then use the API to edit each issue to be closed and labeled with the SPAM label. Those who look at it will see the label displayed along side the issue and it's really the best you can hope for.

If you're more comfortable with a specific language, check for a library written in it to make your life easier too.