Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Fetches all issues from a repo including labels and board colums.
{
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
You can’t perform that action at this time.