Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save bnomei/e815d7a4fec8c24db7587ad4083af500 to your computer and use it in GitHub Desktop.
Save bnomei/e815d7a4fec8c24db7587ad4083af500 to your computer and use it in GitHub Desktop.
query($userLogin: String!) {
user(login: $userLogin) {
repositories(affiliations: [OWNER], last: 100, privacy:PUBLIC) {
edges {
node {
url
issues(states: [OPEN], last: 100) {
edges {
node {
createdAt
title
url
viewerDidAuthor
repository {
name
}
}
}
}
}
}
}
}
}
@bnomei
Copy link
Author

bnomei commented Feb 11, 2022

jq query

.data.user.repositories.edges[].node.issues.edges[].node | { url, title }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment