BugMutations.graphql

 1mutation BugCreate($input: BugCreateInput!) {
 2  bugCreate(input: $input) {
 3    bug {
 4      id
 5      humanId
 6    }
 7  }
 8}
 9
10mutation BugAddComment($input: BugAddCommentInput!) {
11  bugAddComment(input: $input) {
12    bug {
13      id
14    }
15  }
16}
17
18mutation BugAddCommentAndClose($input: BugAddCommentAndCloseInput!) {
19  bugAddCommentAndClose(input: $input) {
20    bug {
21      id
22    }
23  }
24}
25
26mutation BugAddCommentAndReopen($input: BugAddCommentAndReopenInput!) {
27  bugAddCommentAndReopen(input: $input) {
28    bug {
29      id
30    }
31  }
32}
33
34mutation BugEditComment($input: BugEditCommentInput!) {
35  bugEditComment(input: $input) {
36    bug {
37      id
38    }
39  }
40}
41
42mutation BugChangeLabels($input: BugChangeLabelInput) {
43  bugChangeLabels(input: $input) {
44    bug {
45      id
46      labels {
47        name
48        color {
49          R
50          G
51          B
52        }
53      }
54    }
55  }
56}
57
58mutation BugStatusOpen($input: BugStatusOpenInput!) {
59  bugStatusOpen(input: $input) {
60    bug {
61      id
62      status
63    }
64  }
65}
66
67mutation BugStatusClose($input: BugStatusCloseInput!) {
68  bugStatusClose(input: $input) {
69    bug {
70      id
71      status
72    }
73  }
74}
75
76mutation BugSetTitle($input: BugSetTitleInput!) {
77  bugSetTitle(input: $input) {
78    bug {
79      id
80      title
81    }
82  }
83}