Last active
October 28, 2019 19:56
-
-
Save brejoc/decf38031d37604fe68ebaacf8ab2653 to your computer and use it in GitHub Desktop.
Fetches all issues from a repo including labels and board colums.
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
{ | |
repository(owner: "brejoc", name: "test") { | |
issues(first: 100) { | |
totalCount | |
pageInfo { | |
startCursor | |
endCursor | |
hasNextPage | |
} | |
nodes { | |
createdAt | |
closedAt | |
title | |
url | |
state | |
projectCards { | |
nodes { | |
id | |
column { | |
name | |
project { | |
name | |
} | |
} | |
} | |
} | |
labels(first: 100) { | |
nodes { | |
name | |
} | |
} | |
timelineItems(itemTypes: [ADDED_TO_PROJECT_EVENT, MOVED_COLUMNS_IN_PROJECT_EVENT], first: 250) { | |
nodes { | |
__typename | |
...on AddedToProjectEvent { | |
id | |
databaseId | |
createdAt | |
} | |
...on MovedColumnsInProjectEvent { | |
id | |
databaseId | |
createdAt | |
} | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment