API to delete and move issues and to ban users #24782
-
I have implemented an Action that automatically closes issues not following the template. But it is incomplete. I actually want to automatically move them into a garbage repo untill they are fixed, and completely remove them if they are not fixed, and man the users who repeatedly create the issues not following the template. It seems tat the API for all of this is missing. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @kolanich 👋 So there is a GraphQL mutation to transfer issues between repositories: docs.github.comMutations - GitHub Docs//docs.github.com/en/graphql/reference/mutations Similarly for deleting issues, you can do this via GraphQL here: docs.github.comMutations - GitHub Docs//docs.github.com/en/graphql/reference/mutations You can block users, via: docs.github.comUsers - GitHub Docs//docs.github.com/en/rest/reference/users …being mindful that this blocks users from your personal account, and not at the repository level. That said, if any of the above doesn’t fully solve for your use case, I would highly recommend submitting your suggestions directly to our PMs via this feedback form: support.github.comShare feedback - GitHub Support//support.github.com/contact/feedback I hope this is helpful, but of course, if you have any other questions beyond what you’ve submitted, let us know! 🙇 |
Beta Was this translation helpful? Give feedback.
-
Thanks you. About GraphQL I have already figured that out, though I find GQL API for that a bit inconvenient to use because it involves specific request for each mutation rather than incrementally built endpoint URI. |
Beta Was this translation helpful? Give feedback.
Hi @kolanich 👋
So there is a GraphQL mutation to transfer issues between repositories:
docs.github.com
Mutations - GitHub Docs
//docs.github.com/en/graphql/reference/mutations
Similarly for deleting issues, you can do this via GraphQL here:
docs.github.com
Mutations - GitHub Docs
//docs.github.com/en/graphql/reference/mutations
You can block users, via:
docs.github.com
Users - GitHub Docs
//docs.github.com/en/rest/reference/users
…being mindful that this blocks users from your personal account, and not at the repository level.
That said, if any of the above doesn’t fully solve for your use case, I would highly recommend submitting your suggestions directly to our PMs via th…