Last active
June 13, 2018 23:48
-
-
Save monkut/657e3924ba373782cde4a2400d4c22b3 to your computer and use it in GitHub Desktop.
A github graphql query to obtain information on originzational projects
This file contains hidden or 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
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