BugList.graphql

 1query BugList($ref: String, $query: String, $first: Int, $after: String) {
 2  repository(ref: $ref) {
 3    allBugs(query: $query, first: $first, after: $after) {
 4      totalCount
 5      pageInfo {
 6        hasNextPage
 7        endCursor
 8      }
 9      nodes {
10        id
11        humanId
12        status
13        title
14        labels {
15          name
16          color {
17            R
18            G
19            B
20          }
21        }
22        author {
23          id
24          humanId
25          displayName
26          avatarUrl
27        }
28        createdAt
29        comments {
30          totalCount
31        }
32      }
33    }
34  }
35}