| 1 | [ticket-workflow]
|
|---|
| 2 | ; basic-workflow.ini
|
|---|
| 3 | ;
|
|---|
| 4 | ; This workflow is intended to be a "fixed" version of the original workflow.
|
|---|
| 5 | ;
|
|---|
| 6 | ; If you adopt it for an existing Trac environment, don't forget to convert
|
|---|
| 7 | ; the status of your existing tickets.
|
|---|
| 8 | ;
|
|---|
| 9 | ; Both the setup of the new [ticket-workflow] and the migration can be achieved
|
|---|
| 10 | ; by using the following script:
|
|---|
| 11 | ;
|
|---|
| 12 | ; contrib/workflow/migrate_original_to_basic.py
|
|---|
| 13 |
|
|---|
| 14 | leave = * -> *
|
|---|
| 15 | leave.operations = leave_status
|
|---|
| 16 | leave.default = 1
|
|---|
| 17 |
|
|---|
| 18 | create = <none> -> new
|
|---|
| 19 | create.default = 1
|
|---|
| 20 |
|
|---|
| 21 | create_and_assign = <none> -> assigned
|
|---|
| 22 | create_and_assign.label = assign
|
|---|
| 23 | create_and_assign.permissions = TICKET_MODIFY
|
|---|
| 24 | create_and_assign.operations = may_set_owner
|
|---|
| 25 |
|
|---|
| 26 | accept = new,assigned,accepted,reopened -> accepted
|
|---|
| 27 | accept.permissions = TICKET_MODIFY
|
|---|
| 28 | accept.operations = set_owner_to_self
|
|---|
| 29 |
|
|---|
| 30 | resolve = new,assigned,accepted,reopened -> closed
|
|---|
| 31 | resolve.permissions = TICKET_MODIFY
|
|---|
| 32 | resolve.operations = set_resolution
|
|---|
| 33 |
|
|---|
| 34 | reassign = new,assigned,accepted,reopened -> assigned
|
|---|
| 35 | reassign.permissions = TICKET_MODIFY
|
|---|
| 36 | reassign.operations = set_owner
|
|---|
| 37 |
|
|---|
| 38 | reopen = closed -> reopened
|
|---|
| 39 | reopen.permissions = TICKET_CREATE
|
|---|
| 40 | reopen.operations = del_resolution
|
|---|
| 41 |
|
|---|
| 42 | [milestone-groups]
|
|---|
| 43 | closed = closed
|
|---|
| 44 | closed.order = 0
|
|---|
| 45 | closed.query_args = group=resolution
|
|---|
| 46 | closed.overall_completion = true
|
|---|
| 47 |
|
|---|
| 48 | active = *
|
|---|
| 49 | active.order = 1
|
|---|
| 50 | active.css_class = open
|
|---|
| 51 |
|
|---|
| 52 | new = new,reopened
|
|---|
| 53 | new.order = 2
|
|---|