Skip to content

Instantly share code, notes, and snippets.

@joshcarp
Created August 11, 2021 12:09
Show Gist options
  • Save joshcarp/973faa8bb70703780d6b6488e2b7c4e2 to your computer and use it in GitHub Desktop.
Save joshcarp/973faa8bb70703780d6b6488e2b7c4e2 to your computer and use it in GitHub Desktop.
github graphql to get closing issues linked to a pull request
{
viewer {
repository(name: "glowing-umbrella") {
pullRequest(number: 8) {
closingIssuesReferences(first:1) {
nodes {
number
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment