3 | | {{{ |
4 | | #!Workflow width=700 height=400 |
5 | | leave = * -> * |
6 | | leave.operations = leave_status |
7 | | leave.default = 1 |
8 | | |
9 | | create = <none> -> new |
10 | | create.default = 1 |
11 | | |
12 | | create_and_assign = <none> -> assigned |
13 | | create_and_assign.label = assign |
14 | | create_and_assign.permissions = TICKET_MODIFY |
15 | | create_and_assign.operations = may_set_owner |
16 | | |
17 | | accept = new,assigned,accepted,reopened -> accepted |
18 | | accept.permissions = TICKET_MODIFY |
19 | | accept.operations = set_owner_to_self |
20 | | |
21 | | resolve = new,assigned,accepted,reopened -> closed |
22 | | resolve.permissions = TICKET_MODIFY |
23 | | resolve.operations = set_resolution |
24 | | |
25 | | reassign = new,assigned,accepted,reopened -> assigned |
26 | | reassign.permissions = TICKET_MODIFY |
27 | | reassign.operations = set_owner |
28 | | |
29 | | reopen = closed -> reopened |
30 | | reopen.permissions = TICKET_CREATE |
31 | | reopen.operations = del_resolution |
32 | | }}} |
33 | | |
34 | | {{{ |
35 | | #!sh |
36 | | |
37 | | }}} |