wiki:MultipleWorkflowPlugin

Version 7 (modified by Ermal Memushaj, 15 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 Attachments session on the lower part of this page.

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

18098 by Cinc-th on 2021-03-26 06:43:31
MultipleWorkflowPlugin: Python 3 fix. Added classifiers to setup.py.
18094 by Cinc-th on 2021-03-25 11:27:31
MultipleWorkflowPlugin: fixes for Python 3 support.
17959 by rjollos on 2021-01-20 01:24:20
MultipleWorkflowPlugin 1.5.2: Revert unintended change in r17958

Refs #13943.

(more)

Author/Contributors

Author: ermal
Contributors:

Attachments (1)

Download all attachments as: .zip