-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJIRA with QA.xml
375 lines (374 loc) · 16.7 KB
/
JIRA with QA.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE workflow PUBLIC "-//OpenSymphony Group//DTD OSWorkflow 2.8//EN" "http://www.opensymphony.com/osworkflow/workflow_2_8.dtd">
<workflow>
<meta name="jira.update.author.key">joe.murray@jmaconsulting.biz</meta>
<meta name="jira.description">Default JIRA workflow with QA</meta>
<meta name="jira.updated.date">1377112764079</meta>
<initial-actions>
<action id="1" name="Create Issue">
<meta name="opsbar-sequence">0</meta>
<meta name="jira.i18n.title">common.forms.create</meta>
<validators>
<validator name="" type="class">
<arg name="class.name">com.atlassian.jira.workflow.validator.PermissionValidator</arg>
<arg name="permission">Create Issue</arg>
</validator>
</validators>
<results>
<unconditional-result old-status="Finished" status="Open" step="1">
<post-functions>
<function type="class">
<arg name="class.name">com.atlassian.jira.workflow.function.issue.IssueCreateFunction</arg>
</function>
<function type="class">
<arg name="class.name">com.atlassian.jira.workflow.function.event.FireIssueEventFunction</arg>
<arg name="eventTypeId">1</arg>
</function>
</post-functions>
</unconditional-result>
</results>
</action>
</initial-actions>
<common-actions>
<action id="2" name="Close Issue" view="resolveissue">
<meta name="opsbar-sequence">60</meta>
<meta name="jira.i18n.submit">closeissue.close</meta>
<meta name="jira.i18n.description">closeissue.desc</meta>
<meta name="jira.i18n.title">closeissue.title</meta>
<meta name="commit.command.mapping">close</meta>
<restrict-to>
<conditions type="AND">
<condition type="class">
<arg name="class.name">com.atlassian.jira.workflow.condition.PermissionCondition</arg>
<arg name="permission">Resolve Issue</arg>
</condition>
<condition type="class">
<arg name="class.name">com.atlassian.jira.workflow.condition.PermissionCondition</arg>
<arg name="permission">Close Issue</arg>
</condition>
</conditions>
</restrict-to>
<results>
<unconditional-result old-status="Finished" status="Closed" step="6">
<post-functions>
<function type="class">
<arg name="class.name">com.atlassian.jira.workflow.function.issue.UpdateIssueStatusFunction</arg>
</function>
<function type="class">
<arg name="class.name">com.atlassian.jira.workflow.function.misc.CreateCommentFunction</arg>
</function>
<function type="class">
<arg name="class.name">com.atlassian.jira.workflow.function.issue.GenerateChangeHistoryFunction</arg>
</function>
<function type="class">
<arg name="class.name">com.atlassian.jira.workflow.function.issue.IssueReindexFunction</arg>
</function>
<function type="class">
<arg name="class.name">com.atlassian.jira.workflow.function.event.FireIssueEventFunction</arg>
<arg name="eventTypeId">5</arg>
</function>
</post-functions>
</unconditional-result>
</results>
</action>
<action id="3" name="Reopen Issue" view="commentassign">
<meta name="opsbar-sequence">80</meta>
<meta name="jira.i18n.submit">issue.operations.reopen.issue</meta>
<meta name="jira.i18n.description">issue.operations.reopen.description</meta>
<meta name="jira.i18n.title">issue.operations.reopen.issue</meta>
<meta name="commit.command.mapping">reopen</meta>
<restrict-to>
<conditions>
<condition type="class">
<arg name="class.name">com.atlassian.jira.workflow.condition.PermissionCondition</arg>
<arg name="permission">Resolve Issue</arg>
</condition>
</conditions>
</restrict-to>
<results>
<unconditional-result old-status="Finished" status="Reopened" step="5">
<post-functions>
<function type="class">
<arg name="class.name">com.atlassian.jira.workflow.function.issue.UpdateIssueFieldFunction</arg>
<arg name="field.value"></arg>
<arg name="field.name">resolution</arg>
</function>
<function type="class">
<arg name="class.name">com.atlassian.jira.workflow.function.issue.UpdateIssueStatusFunction</arg>
</function>
<function type="class">
<arg name="class.name">com.atlassian.jira.workflow.function.misc.CreateCommentFunction</arg>
</function>
<function type="class">
<arg name="class.name">com.atlassian.jira.workflow.function.issue.GenerateChangeHistoryFunction</arg>
</function>
<function type="class">
<arg name="class.name">com.atlassian.jira.workflow.function.issue.IssueReindexFunction</arg>
</function>
<function type="class">
<arg name="class.name">com.atlassian.jira.workflow.function.event.FireIssueEventFunction</arg>
<arg name="eventTypeId">7</arg>
</function>
</post-functions>
</unconditional-result>
</results>
</action>
<action id="4" name="Start Progress">
<meta name="opsbar-sequence">20</meta>
<meta name="jira.i18n.title">startprogress.title</meta>
<meta name="commit.command.mapping">start</meta>
<restrict-to>
<conditions>
<condition type="class">
<arg name="class.name">com.atlassian.jira.workflow.condition.AllowOnlyAssignee</arg>
</condition>
</conditions>
</restrict-to>
<results>
<unconditional-result old-status="Finished" status="Underway" step="3">
<post-functions>
<function type="class">
<arg name="class.name">com.atlassian.jira.workflow.function.issue.UpdateIssueFieldFunction</arg>
<arg name="field.value"></arg>
<arg name="field.name">resolution</arg>
</function>
<function type="class">
<arg name="class.name">com.atlassian.jira.workflow.function.issue.UpdateIssueStatusFunction</arg>
</function>
<function type="class">
<arg name="class.name">com.atlassian.jira.workflow.function.misc.CreateCommentFunction</arg>
</function>
<function type="class">
<arg name="class.name">com.atlassian.jira.workflow.function.issue.GenerateChangeHistoryFunction</arg>
</function>
<function type="class">
<arg name="class.name">com.atlassian.jira.workflow.function.issue.IssueReindexFunction</arg>
</function>
<function type="class">
<arg name="class.name">com.atlassian.jira.workflow.function.event.FireIssueEventFunction</arg>
<arg name="eventTypeId">11</arg>
</function>
</post-functions>
</unconditional-result>
</results>
</action>
<action id="5" name="Resolve Issue" view="fieldscreen">
<meta name="opsbar-sequence">40</meta>
<meta name="jira.i18n.submit">resolveissue.resolve</meta>
<meta name="jira.i18n.description">resolveissue.desc.line1</meta>
<meta name="jira.description"></meta>
<meta name="jira.i18n.title">resolveissue.title</meta>
<meta name="jira.fieldscreen.id">3</meta>
<meta name="commit.command.mapping">resolve</meta>
<restrict-to>
<conditions>
<condition type="class">
<arg name="class.name">com.atlassian.jira.workflow.condition.PermissionCondition</arg>
<arg name="permission">Resolve Issue</arg>
</condition>
</conditions>
</restrict-to>
<results>
<unconditional-result old-status="Finished" status="Resolved" step="4">
<post-functions>
<function type="class">
<arg name="class.name">com.atlassian.jira.workflow.function.issue.UpdateIssueStatusFunction</arg>
</function>
<function type="class">
<arg name="class.name">com.atlassian.jira.workflow.function.misc.CreateCommentFunction</arg>
</function>
<function type="class">
<arg name="class.name">com.atlassian.jira.workflow.function.issue.GenerateChangeHistoryFunction</arg>
</function>
<function type="class">
<arg name="class.name">com.atlassian.jira.workflow.function.issue.IssueReindexFunction</arg>
</function>
<function type="class">
<arg name="class.name">com.atlassian.jira.workflow.function.event.FireIssueEventFunction</arg>
<arg name="eventTypeId">4</arg>
</function>
</post-functions>
</unconditional-result>
</results>
</action>
<action id="711" name="QA Issue" view="fieldscreen">
<meta name="jira.description"></meta>
<meta name="jira.fieldscreen.id">2</meta>
<results>
<unconditional-result old-status="Not Done" status="Done" step="7">
<post-functions>
<function type="class">
<arg name="class.name">com.atlassian.jira.workflow.function.issue.UpdateIssueStatusFunction</arg>
</function>
<function type="class">
<arg name="class.name">com.atlassian.jira.workflow.function.misc.CreateCommentFunction</arg>
</function>
<function type="class">
<arg name="class.name">com.atlassian.jira.workflow.function.issue.GenerateChangeHistoryFunction</arg>
</function>
<function type="class">
<arg name="class.name">com.atlassian.jira.workflow.function.issue.IssueReindexFunction</arg>
</function>
<function type="class">
<arg name="class.name">com.atlassian.jira.workflow.function.event.FireIssueEventFunction</arg>
<arg name="eventTypeId">13</arg>
</function>
</post-functions>
</unconditional-result>
</results>
</action>
</common-actions>
<steps>
<step id="1" name="Open">
<meta name="jira.status.id">1</meta>
<actions>
<common-action id="4" />
<common-action id="5" />
<common-action id="2" />
<common-action id="711" />
</actions>
</step>
<step id="3" name="In Progress">
<meta name="jira.status.id">3</meta>
<actions>
<common-action id="5" />
<common-action id="2" />
<common-action id="711" />
<action id="301" name="Stop Progress">
<meta name="opsbar-sequence">20</meta>
<meta name="jira.i18n.title">stopprogress.title</meta>
<meta name="commit.command.mapping">stop</meta>
<restrict-to>
<conditions>
<condition type="class">
<arg name="class.name">com.atlassian.jira.workflow.condition.AllowOnlyAssignee</arg>
</condition>
</conditions>
</restrict-to>
<results>
<unconditional-result old-status="Finished" status="Assigned" step="1">
<post-functions>
<function type="class">
<arg name="class.name">com.atlassian.jira.workflow.function.issue.UpdateIssueFieldFunction</arg>
<arg name="field.value"></arg>
<arg name="field.name">resolution</arg>
</function>
<function type="class">
<arg name="class.name">com.atlassian.jira.workflow.function.issue.UpdateIssueStatusFunction</arg>
</function>
<function type="class">
<arg name="class.name">com.atlassian.jira.workflow.function.misc.CreateCommentFunction</arg>
</function>
<function type="class">
<arg name="class.name">com.atlassian.jira.workflow.function.issue.GenerateChangeHistoryFunction</arg>
</function>
<function type="class">
<arg name="class.name">com.atlassian.jira.workflow.function.issue.IssueReindexFunction</arg>
</function>
<function type="class">
<arg name="class.name">com.atlassian.jira.workflow.function.event.FireIssueEventFunction</arg>
<arg name="eventTypeId">12</arg>
</function>
</post-functions>
</unconditional-result>
</results>
</action>
</actions>
</step>
<step id="4" name="Resolved">
<meta name="jira.status.id">5</meta>
<actions>
<common-action id="3" />
<common-action id="711" />
<action id="701" name="Close Issue" view="commentassign">
<meta name="opsbar-sequence">60</meta>
<meta name="jira.i18n.submit">closeissue.close</meta>
<meta name="jira.i18n.description">closeissue.desc</meta>
<meta name="jira.i18n.title">closeissue.title</meta>
<meta name="jira.description">Closing an issue indicates there is no more work to be done on it, and it has been verified as complete.</meta>
<meta name="commit.command.mapping">close</meta>
<restrict-to>
<conditions>
<condition type="class">
<arg name="class.name">com.atlassian.jira.workflow.condition.PermissionCondition</arg>
<arg name="permission">Close Issue</arg>
</condition>
</conditions>
</restrict-to>
<results>
<unconditional-result old-status="Finished" status="Closed" step="6">
<post-functions>
<function type="class">
<arg name="class.name">com.atlassian.jira.workflow.function.issue.UpdateIssueStatusFunction</arg>
</function>
<function type="class">
<arg name="class.name">com.atlassian.jira.workflow.function.misc.CreateCommentFunction</arg>
</function>
<function type="class">
<arg name="class.name">com.atlassian.jira.workflow.function.issue.GenerateChangeHistoryFunction</arg>
</function>
<function type="class">
<arg name="class.name">com.atlassian.jira.workflow.function.issue.IssueReindexFunction</arg>
</function>
<function type="class">
<arg name="class.name">com.atlassian.jira.workflow.function.event.FireIssueEventFunction</arg>
<arg name="eventTypeId">5</arg>
</function>
</post-functions>
</unconditional-result>
</results>
</action>
</actions>
</step>
<step id="5" name="Reopened">
<meta name="jira.status.id">4</meta>
<actions>
<common-action id="5" />
<common-action id="2" />
<common-action id="4" />
<common-action id="711" />
</actions>
</step>
<step id="6" name="Closed">
<meta name="jira.status.id">6</meta>
<meta name="jira.issue.editable">false</meta>
<actions>
<common-action id="3" />
</actions>
</step>
<step id="7" name="QA">
<meta name="jira.status.id">10000</meta>
<actions>
<common-action id="4" />
<common-action id="2" />
<common-action id="5" />
<action id="721" name="More work needed" view="fieldscreen">
<meta name="jira.description"></meta>
<meta name="jira.fieldscreen.id">2</meta>
<results>
<unconditional-result old-status="Not Done" status="Done" step="1">
<post-functions>
<function type="class">
<arg name="class.name">com.atlassian.jira.workflow.function.issue.UpdateIssueStatusFunction</arg>
</function>
<function type="class">
<arg name="class.name">com.atlassian.jira.workflow.function.misc.CreateCommentFunction</arg>
</function>
<function type="class">
<arg name="class.name">com.atlassian.jira.workflow.function.issue.GenerateChangeHistoryFunction</arg>
</function>
<function type="class">
<arg name="class.name">com.atlassian.jira.workflow.function.issue.IssueReindexFunction</arg>
</function>
<function type="class">
<arg name="class.name">com.atlassian.jira.workflow.function.event.FireIssueEventFunction</arg>
<arg name="eventTypeId">13</arg>
</function>
</post-functions>
</unconditional-result>
</results>
</action>
</actions>
</step>
</steps>
</workflow>