wiki:TypedTicketWorkflowPlugin

Typed Ticket Workflow

Notice: This plugin is unmaintained and available for adoption.

Description

This plugin adds additional condition for workflow actions: ticket Type. This allows you to create actions applicable for a specific ticket type. This plugin is based on default ConfigurableTicketWorkflow component.

For example, "Ready for QA" should be applicable to 'task' tickets only. So you can write:

ready_for_qa.tickettype = task

You can add multiple types seperated by a comma:

ready_for_qa.tickettype = task, enhancement

If the tickettype attribute is not set, no filter is applied.

This plugin must replace the ConfigurableTicketWorkflow plugin if it is installed. All ConfigurableTicketWorkflow functions are still available.

Notes:

Bugs/Feature Requests

Existing bugs and feature requests for TypedTicketWorkflowPlugin are here.

If you have any issues, create a new ticket.

defect

6 / 7

enhancement

1 / 1

Download

Download the zipped source from here.

Source

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

Installation

General instructions on installing Trac plugins can be found on the TracPlugins page.

Enable the plugin in your trac.ini file with:

[components]
typedworkflow.* = enabled

Configuration

A typical implementation of a workflow would be represented as follows in trac.ini:

[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 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
Maintainer: none (needsadoption)
Contributors:

Last modified 8 years ago Last modified on Nov 16, 2015, 12:18:56 PM