-
-
Save LucaColonnello/e28ccddcbfefcf7023e20ad463fb87ee to your computer and use it in GitHub Desktop.
GraphQL to fetch GitHub Projects+Columns+Cards with issue/PR detail for a specific repo.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
search(type: REPOSITORY, query: "org:huboard-testing spooky-octo-pug", first: 1) { | |
edges { | |
node { | |
__typename | |
... on Repository { | |
owner { | |
id | |
} | |
name | |
projects(first: 10) { | |
edges { | |
node { | |
number | |
name | |
columns(first: 30) { | |
edges { | |
node { | |
name | |
cards(first: 30) { | |
edges { | |
cursor | |
node { | |
id | |
note | |
state | |
content { | |
... on Issue { | |
id | |
number | |
title | |
} | |
... on PullRequest { | |
id | |
number | |
title | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment