wiki:TypedTicketWorkflowPlugin

Version 1 (modified by Vladimir Abramov, 15 years ago) (diff)

New hack TypedTicketWorkflowPlugin, created by kivsiak

TypedTicketWorkflow

Notice: This plugin is unmaintained and available for adoption.

Description

Add additional condition for workflow actions: ticket Type. This allow to create actions applicable for specific ticket type. This plugin based on default ConfigurableTicketWorkflow plugin. For example "ready for QA" action should be applicable for 'task' tickets only. So you can write: ready_for_qa.tickettype = task You can add multiple types using comma. ready_for_qa.tickettype = task, enchantment If tickettype attribute is not set, no filter applicable.

This plugin must replace ConfigurableTicketWorkflow. All ConfigurableTicketWorkflow functions are still available.

Bugs/Feature Requests

Existing bugs and feature requests for TypedTicketWorkflowPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from [download:typedticketworkflowplugin here].

Source

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

Example

[ticket] workflow = TypedTickedWorkflow

[ticket-workflow] accept = new,assigned,accepted,reopened -> accepted accept.operations = set_owner_to_self accept.permissions = TICKET_MODIFY accept.tickettype = bug, task

Recent Changes

13576 by rjollos on 2014-01-15 01:18:02
0.2: Bump version from 0.2dev to 0.2. Refs #4548.

Thanks to glinders for testing the latest.

13574 by rjollos on 2014-01-14 21:07:54
0.2dev: Override get_actions_by_operation_for_req . Fixes #4548.

Patch by geoff.

13573 by rjollos on 2014-01-14 21:04:06

0.2dev: Non-functional changes.

  • PEP-0008 changes.
  • Added license headers.
(more)

Author/Contributors

Author: kivsiak
Contributors: