wiki:MultipleWorkflowPlugin

Version 3 (modified by ermal, 6 years ago) (diff)

--

MultipleWorkflowPlugin

Description

The MultipleWorkflowPlugin replaces the ConfigurableTicketPlugin used by trac to control what actions a ticket can do reading [ticket-workflow] session.

With MultipleWorkflowPlugin trac can read the workflow based on the type of ticket that is considering. If a section for that ticket type doesn't exist than it uses the default workflow.

Bugs/Feature Requests

Existing bugs and feature requests for MultipleWorkflowPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out MultipleWorkflowPlugin from here using Subversion, or browse the source with Trac.

Example

Enable the plugin with:
[components]
multipleworkflowplugin.*enabled
multipleworkflowplugin.multipleworkflowplugin.multipleworkflowplugin = enabled

Add the controller to the workflow controller list:
[ticket]
workflow=MultipleWorkflowPlugin

For using it you should have in the trac.ini file the [ticket-workflow] session because when a section for a ticket type doesn't exist trac uses the [ticket-workflow] for the actions to do. If you want to define different workflows than you should create in trac.ini sections called [ticket-workflow-ticket_type] where ticket_type is the type of ticket you want to use this section,you can create all the sections you want and trac will use them when that kind of ticket is being used,you can create ticket type in the admin pannel under ticket types.

Recent Changes

[13467] by rjollos on 2013-12-09 16:35:22
Removed temp file that was mistakenly committed in [13465].
[13466] by rjollos on 2013-12-09 16:34:19
Removed empty directories that were not removed by git-svn in [13463]. Refs #6328.
[13465] by rjollos on 2013-12-09 16:33:34
Refs #6328: Part of [13464].

Author/Contributors

Author: ermal
Contributors: