wiki:TypedTicketWorkflowPlugin

Version 7 (modified by hju@…, 5 years ago) (diff)

adding some helpful information

Typed Ticket Workflow

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, enhancement

If tickettype attribute is not set, no filter applicable.

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

Note: If you want to use this plugin along with AdvancedTicketWorkflowPlugin look at #4547 and #4548

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 here.

Source

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

Example

Enable the plugin with:

[components]
typedworkflow.* = enabled
[ticket]
workflow = TypedTicketWorkflow

[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 02: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 22:07:54
0.2dev: Override get_actions_by_operation_for_req . Fixes #4548.

Patch by geoff.

[13573] by rjollos on 2014-01-14 22:04:06

0.2dev: Non-functional changes.

  • PEP-0008 changes.
  • Added license headers.

Author/Contributors

Author: kivsiak
Contributors: