wiki:TicketConditionalCreationStatusPlugin

Version 6 (modified by Patrick Schaaf, 13 years ago) (diff)

--

Conditionally set ticket creation status

Description

This plugin is an evolution of the TicketCreationStatusPlugin, permitting conditioned setting of creation status, depending on arbitrary ticket field values, e.g. type.

Status can be chosen independantly for owned or unowned tickets.

Usage

Install the plugin using setuptools (how to). Activate the component in trac.ini like this:

[components]
ticketconditionalcreationstatus.* = enabled

Configuration is the written in a separate section, headed [ticketconditionalcreationstatus].

There is one fixed configuration variable, criteria, taking as value a list of ticket field names that you want to use as conditions.

For any of the criteria you can then write variables <fieldname>.owned or <fieldname>.unowned, with values like <fieldcontent> -> <ticketstatus>.

Example

The following example will make tickets of type task start out as assigned, instead of new, if the owner is set at creation time:

[ticketconditionalcreationstatus]
criteria = type
type.owned = task -> assigned

Bugs/Feature Requests

Existing bugs and feature requests for TicketConditionalCreationStatusPlugin are here.

If you have any issues, create a new ticket.

Download

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

Source

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

Recent Changes

10491 by bof on 2011-07-22 20:01:04
operate like on ticket creation when existing ticket goes from closed to new. and some TAB->space fixes.
10356 by bof on 2011-06-21 12:23:16
fix bad import in init
10355 by bof on 2011-06-21 09:32:59
expand configuration: comma separated list of cond->value, and multiple cond1|cond2|...
(more)

Author/Contributors

Author: bof
Maintainer: bof
Sponsor: Yalwa Branchenbuch
Contributors: