Skip to content

Instantly share code, notes, and snippets.

@brejoc
Created December 7, 2018 22:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brejoc/83e862a96a85191dd89fd03bdab61b9d to your computer and use it in GitHub Desktop.
Save brejoc/83e862a96a85191dd89fd03bdab61b9d to your computer and use it in GitHub Desktop.
Querying Github for all the issues on a board
query ($owner: String!, $name: String!, $board_number: Int!) {
repository(owner: $owner, name: $name) {
project(number: $board_number) {
columns(first: 10) {
nodes {
name
cards(first: 100) {
edges {
node {
content {
__typename
... on Issue {
number
title
url
}
}
}
}
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment