1input NewBugInput {
2 """A unique identifier for the client performing the mutation."""
3 clientMutationId: String
4 """The name of the repository. If not set, the default repository is used."""
5 repoRef: String
6 """The title of the new bug."""
7 title: String!
8 """The first message of the new bug."""
9 message: String!
10 """The collection of file's hash required for the first message."""
11 files: [Hash!]
12}
13
14type NewBugPayload {
15 """A unique identifier for the client performing the mutation."""
16 clientMutationId: String
17 """The created bug."""
18 bug: Bug!
19 """The resulting operation."""
20 operation: CreateOperation!
21}
22
23input AddCommentInput {
24 """A unique identifier for the client performing the mutation."""
25 clientMutationId: String
26 """The name of the repository. If not set, the default repository is used."""
27 repoRef: String
28 """The bug ID's prefix."""
29 prefix: String!
30 """The message to be added to the bug."""
31 message: String!
32 """The collection of file's hash required for the first message."""
33 files: [Hash!]
34}
35
36type AddCommentPayload {
37 """A unique identifier for the client performing the mutation."""
38 clientMutationId: String
39 """The affected bug."""
40 bug: Bug!
41 """The resulting operation."""
42 operation: AddCommentOperation!
43}
44
45input AddCommentAndCloseBugInput {
46 """A unique identifier for the client performing the mutation."""
47 clientMutationId: String
48 """The name of the repository. If not set, the default repository is used."""
49 repoRef: String
50 """The bug ID's prefix."""
51 prefix: String!
52 """The message to be added to the bug."""
53 message: String!
54 """The collection of file's hash required for the first message."""
55 files: [Hash!]
56}
57
58type AddCommentAndCloseBugPayload {
59 """A unique identifier for the client performing the mutation."""
60 clientMutationId: String
61 """The affected bug."""
62 bug: Bug!
63 """The resulting AddComment operation."""
64 commentOperation: AddCommentOperation!
65 """The resulting SetStatusOperation."""
66 statusOperation: SetStatusOperation!
67}
68
69input AddCommentAndReopenBugInput {
70 """A unique identifier for the client performing the mutation."""
71 clientMutationId: String
72 """The name of the repository. If not set, the default repository is used."""
73 repoRef: String
74 """The bug ID's prefix."""
75 prefix: String!
76 """The message to be added to the bug."""
77 message: String!
78 """The collection of file's hash required for the first message."""
79 files: [Hash!]
80}
81
82type AddCommentAndReopenBugPayload {
83 """A unique identifier for the client performing the mutation."""
84 clientMutationId: String
85 """The affected bug."""
86 bug: Bug!
87 """The resulting AddComment operation."""
88 commentOperation: AddCommentOperation!
89 """The resulting SetStatusOperation."""
90 statusOperation: SetStatusOperation!
91}
92
93input EditCommentInput {
94 """A unique identifier for the client performing the mutation."""
95 clientMutationId: String
96 """The name of the repository. If not set, the default repository is used."""
97 repoRef: String
98 """The bug ID's prefix."""
99 prefix: String!
100 """The ID of the comment to be changed."""
101 target: String!
102 """The new message to be set."""
103 message: String!
104 """The collection of file's hash required for the first message."""
105 files: [Hash!]
106}
107
108type EditCommentPayload {
109 """A unique identifier for the client performing the mutation."""
110 clientMutationId: String
111 """The affected bug."""
112 bug: Bug!
113 """The resulting operation."""
114 operation: EditCommentOperation!
115}
116
117input ChangeLabelInput {
118 """A unique identifier for the client performing the mutation."""
119 clientMutationId: String
120 """The name of the repository. If not set, the default repository is used."""
121 repoRef: String
122 """The bug ID's prefix."""
123 prefix: String!
124 """The list of label to add."""
125 added: [String!]
126 """The list of label to remove."""
127 Removed: [String!]
128}
129
130enum LabelChangeStatus {
131 ADDED
132 REMOVED
133 DUPLICATE_IN_OP
134 ALREADY_SET
135 DOESNT_EXIST
136}
137
138type LabelChangeResult {
139 """The source label."""
140 label: Label!
141 """The effect this label had."""
142 status: LabelChangeStatus!
143}
144
145type ChangeLabelPayload {
146 """A unique identifier for the client performing the mutation."""
147 clientMutationId: String
148 """The affected bug."""
149 bug: Bug!
150 """The resulting operation."""
151 operation: LabelChangeOperation!
152 """The effect each source label had."""
153 results: [LabelChangeResult]!
154}
155
156input OpenBugInput {
157 """A unique identifier for the client performing the mutation."""
158 clientMutationId: String
159 """The name of the repository. If not set, the default repository is used."""
160 repoRef: String
161 """The bug ID's prefix."""
162 prefix: String!
163}
164
165type OpenBugPayload {
166 """A unique identifier for the client performing the mutation."""
167 clientMutationId: String
168 """The affected bug."""
169 bug: Bug!
170 """The resulting operation."""
171 operation: SetStatusOperation!
172}
173
174input CloseBugInput {
175 """A unique identifier for the client performing the mutation."""
176 clientMutationId: String
177 """The name of the repository. If not set, the default repository is used."""
178 repoRef: String
179 """The bug ID's prefix."""
180 prefix: String!
181}
182
183type CloseBugPayload {
184 """A unique identifier for the client performing the mutation."""
185 clientMutationId: String
186 """The affected bug."""
187 bug: Bug!
188 """The resulting operation."""
189 operation: SetStatusOperation!
190}
191
192input SetTitleInput {
193 """A unique identifier for the client performing the mutation."""
194 clientMutationId: String
195 """The name of the repository. If not set, the default repository is used."""
196 repoRef: String
197 """The bug ID's prefix."""
198 prefix: String!
199 """The new title."""
200 title: String!
201}
202
203type SetTitlePayload {
204 """A unique identifier for the client performing the mutation."""
205 clientMutationId: String
206 """The affected bug."""
207 bug: Bug!
208 """The resulting operation"""
209 operation: SetTitleOperation!
210}