Ticket #1450: trac3-sqa.ini

File trac3-sqa.ini, 2.1 KB (added by Nick Draper, 10 years ago)

desired workflow

Line 
1# -*- coding: utf-8 -*-
2[inherit]
3file = /etc/trac/trac.ini
4
5[ticket-workflow]
6; scicomp-workflow.ini
7;
8; This workflow is intended to be a "fixed" version of the original workflow.
9;
10; If you adopt it for an existing Trac environment, don't forget to convert
11; the status of your existing tickets.
12;
13; Both the setup of the new [ticket-workflow] and the migration can be achieved
14; by using the following script:
15;
16; contrib/workflow/migrate_original_to_basic.py
17
18leave = * -> *
19leave.operations = leave_status
20leave.default = 1
21
22accept = new,assigned,accepted,reopened -> accepted
23accept.permissions = TICKET_MODIFY
24accept.operations = set_owner_to_self
25
26reassign = new,assigned,accepted,reopened,verifying -> assigned
27reassign.permissions = TICKET_MODIFY
28reassign.operations = set_owner
29
30reopen = verifying,closed -> reopened
31reopen.permissions = TICKET_MODIFY
32reopen.operations = del_resolution
33
34;?? check this works - we want to set tthe owner and the resolution
35resolve_new = new -> verify
36resolve_new.name = resolve
37resolve_new.operations = set_resolution,set_owner_to_self
38resolve_new.permissions = TICKET_MODIFY
39resolve_new.set_resolution = invalid,wontfix,duplicate,worksforme
40
41resolve = accepted -> verify
42resolve.name = Resolve
43resolve.permissions = TICKET_MODIFY
44
45;?? the operation does not exist yet
46verifying = verify -> verifying
47verifying.name = Accept to verify
48verifying.permissions = TICKET_MODIFY
49verifying.operations = set_tester_to_self
50
51passreview = verifying -> closed
52passreview.name = Pass Testing
53passreview.permissions = TICKET_MODIFY
54
55;?? the operation does not exist yet
56declinereview = verifying -> verify
57declinereview.name = Return ticket to testing pool
58declinereview.permissions = TICKET_MODIFY
59declinereview.operations = clear_tester
60
61[milestone-groups]
62closed = closed
63closed.order = 0
64closed.query_args = group=resolution
65closed.overall_completion = true
66
67SQA = resolved,verify,verifying,review
68SQA.order = 1
69SQA.css_class = sqa
70SQA.label = SQA
71
72active = *
73active.order = 2
74active.css_class = accepted
75
76new = new,reopened,assigned
77new.order = 3