Add closeIssue mutation

schema-request

#1

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 {
      id
    }
  }
}

#2

No response?


#3

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.