Today I would like to share the ticket workflow, we use in most of our trac environments.
Trac's basic workflow is extended by testing, documentation and translation:
Here is the configuration for the conf/trac.ini:
[ticket-workflow] # AT ALL STAGES leave = * -> * leave.default = 1 leave.operations = leave_status reassign = accepted, testing, documentation, translation -> * reassign.name = reassign reassign.operations = set_owner reassign.permissions = TICKET_MODIFY # HANDLE DISCARD discard = new, accepted -> discarded discard.operations = set_resolution discard.permissions = TICKET_MODIFY restore = discarded -> accepted restore.operations = del_resolution restore.permissions = TICKET_MODIFY # WORKFLOW accept = new -> accepted accept.operations = set_owner_to_self accept.permissions = TICKET_MODIFY resolve = accepted -> testing resolve.operations = set_resolution resolve.set_resolution = fixed resolve.permissions = TICKET_MODIFY testPassed = testing -> documentation testPassed.name = Test passed testPassed.permissions = TICKET_MODIFY documentationDone = documentation -> translation documentationDone.name = Documentation updated documentationDone.permissions = TICKET_MODIFY translationDone = translation -> closed translationDone.name = Translation updated translationDone.permissions = TICKET_MODIFY closeNoDT = testing -> closed closeNoDT.name = Test passed (no documentation, no translation) closeNoDT.permissions = TICKET_MODIFY closeNoT = documentation -> closed closeNoT.name = Documentation updated (no translation) closeNoT.permissions = TICKET_MODIFY closeNoD = testing -> translation closeNoD.name = Test passed (no documentation) closeNoD.permissions = TICKET_MODIFY reopen = documentation, translation, closed -> accepted reopen.operations = del_resolution reopen.permissions = TICKET_CREATE testFailed = testing -> accepted testFailed.name = Test failed testFailed.operations = del_resolution testFailed.permissions = TICKET_CREATE
You can find the docs with more information how to customize your ticket workflow here.