Add closeIssue mutation



I am currently writing a bot to manage issues and pull requests of a repository.

One of the current missing feature of the GitHub GraphQL API is the lack of mutations. One of them is closeIssue mutation. Here is an example:

mutation {
  closeIssue(input: { subjectId: "123456789" }) {
    subject {


No response?


Hey @Odonno!

Pardon the late reply - if you have a more urgent issue, I would always encourage you to use our Contact GitHub form, which carries a much more serious response SLA than using this forum. While we always try to be prompt and respond as quickly as possible, we don’t provide any guarantees.

I’ve added this request to our internal schema request section, we’ll update this issue when we have more news!

Thanks again for the suggestion.