0

I posted an issue on GitHub and I'm thinking, if I want to delete it, how can I do it?

1

From GitHub Help page:

People with admin permissions in a repository can permanently delete an issue from a repository.

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.

To delete an issue in a repository owned by an organization:

  • An organization owner must first enable deleting an issue for the organization's repositories.
  • You must have admin privileges in the repository or be an organization owner.
  1. Navigate to the issue you want to delete.
  2. On the right side bar, under "Notifications", click Delete this issue.
  3. To confirm deletion, click Delete this issue.
1

People with admin permissions in a repository can permanently delete an issue from a repository.

Warning:

During the public beta release, deleted issues cannot be restored.
Deleting an issue is currently available as a public beta release and is subject to change.

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.

To delete an issue in a repository owned by an organization:

  • An organization owner must first enable deleting an issue for the organization's repositories.
  • You must have admin privileges in the repository or be an organization owner.

For more information, see "Allowing people to delete issues in your organization" and "Repository permission levels for an organization."

  1. Navigate to the issue you want to delete.
  2. On the right side bar, under "Notifications", click Delete this issue. enter image description here
  3. To confirm deletion, click Delete this issue.

Source.

0

TL;DR: you can not delete your posted issue when you are not one of owner for that repository.

From GitHub Help page:

People with admin permissions in a repository can permanently delete an issue from a repository.

Warning:

During the public beta release, deleted issues cannot be restored.
Deleting an issue is currently available as a public beta release and is subject to change.

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.

To delete an issue in a repository owned by an organization:

  • An organization owner must first enable deleting an issue for the organization's repositories.
  • You must have admin privileges in the repository or be an organization owner.

For more information, see "Allowing people to delete issues in your organization" and "Repository permission levels for an organization."

  1. Navigate to the issue you want to delete.
  2. On the right side bar, under "Notifications", click Delete this issue. enter image description here
  3. To confirm deletion, click Delete this issue.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.