wiki:MultipleWorkflowPlugin

Version 3 (modified by Ermal Memushaj, 8 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 [download:multipleworkflowplugin 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

16618 by rjollos on 2017-05-26 03:57:45
MultipleWorkflowPlugin 1.4.0dev: Fix error rendering default workflow

Fixes #13192.

16598 by rjollos on 2017-05-18 05:17:04
MultipleWorkflowPlugin 1.4.0dev: Make compatible with Trac 1.2+

  • Simplify plugin design by using inheritance
  • Dynamiclaly refresh the available actions

Initial patch by Miklos Molnar.

Fixes #13106.

16597 by rjollos on 2017-05-18 05:03:41
Create branch for Trac 1.0.x-compatible plugin

The trunk will be compatible with Trac 1.2.x

Refs #13106.

(more)

Author/Contributors

Author: ermal
Contributors:

Attachments (1)

Download all attachments as: .zip