Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Github - remove issues entered in error

Dozens of issues have been entered into my project on github that have no place there. Some Einstein ran a script and created all these nonsensical issues through the api. Nothing is linked to these issues.

Surely there is someway I can delete them, but I can't seem to find it in the docs.

like image 510
recursive_acronym Avatar asked May 13 '13 17:05

recursive_acronym


People also ask

Can I delete an issue I created in GitHub?

Navigate to the issue you want to delete. On the right side bar, under "Notifications", click Delete issue. To confirm deletion, click Delete this issue.

How do I delete issues on Zenhub?

How to delete Issues. If you have the right permissions, on the side of the Issue you'll see a link, Delete Issue.

How do you close an issue with a commit?

To link a commit to a GitHub Issue, put the issue number with the # character in the Comment text box. For example, #111. To close a GitHub issue, put a keyword and put the issue number with the # character in the Comment text box. For example, Close #111.


2 Answers

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.

like image 103
Ian Stapleton Cordasco Avatar answered Sep 18 '22 14:09

Ian Stapleton Cordasco


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.

like image 29
VonC Avatar answered Sep 22 '22 14:09

VonC