1query BugDetail($ref: String, $prefix: String!) {
2 repository(ref: $ref) {
3 bug(prefix: $prefix) {
4 id
5 humanId
6 status
7 title
8 labels {
9 name
10 color {
11 R
12 G
13 B
14 }
15 }
16 author {
17 id
18 humanId
19 displayName
20 avatarUrl
21 }
22 createdAt
23 lastEdit
24 participants(first: 20) {
25 nodes {
26 id
27 humanId
28 displayName
29 avatarUrl
30 }
31 }
32 timeline(first: 250) {
33 nodes {
34 __typename
35 id
36 ... on BugCreateTimelineItem {
37 author {
38 id
39 humanId
40 displayName
41 avatarUrl
42 }
43 message
44 createdAt
45 lastEdit
46 edited
47 }
48 ... on BugAddCommentTimelineItem {
49 author {
50 id
51 humanId
52 displayName
53 avatarUrl
54 }
55 message
56 createdAt
57 lastEdit
58 edited
59 }
60 ... on BugLabelChangeTimelineItem {
61 author {
62 humanId
63 displayName
64 }
65 date
66 added {
67 name
68 color {
69 R
70 G
71 B
72 }
73 }
74 removed {
75 name
76 color {
77 R
78 G
79 B
80 }
81 }
82 }
83 ... on BugSetStatusTimelineItem {
84 author {
85 humanId
86 displayName
87 }
88 date
89 status
90 }
91 ... on BugSetTitleTimelineItem {
92 author {
93 humanId
94 displayName
95 }
96 date
97 title
98 was
99 }
100 }
101 }
102 }
103 }
104}