Skip to content

Instantly share code, notes, and snippets.

@monkut
Last active June 13, 2018 23:48
Show Gist options
  • Save monkut/657e3924ba373782cde4a2400d4c22b3 to your computer and use it in GitHub Desktop.
Save monkut/657e3924ba373782cde4a2400d4c22b3 to your computer and use it in GitHub Desktop.
A github graphql query to obtain information on originzational projects
query {
organization(login:"your-org-name"){
name
projects(first:25, states:OPEN) {
nodes {
name,
columns(first:10){
nodes{
name,
cards (first:50){
nodes {
content{
... on Issue{
assignees(first:5){
nodes{
name,
}
},
comments(last:5) {
nodes {
author {
login
},
createdAt,
updatedAt,
bodyText,
}
}
bodyText,
labels(first:5){
nodes {
name
}
},
url,
state
},
},
url
}
}
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment