[[PageOutline(2-5,Contents,pullout)]] = Conditionally set ticket creation status {{{#!box warn This plugin is deprecated with Trac [trac:milestone:1.1.3 1.1.3] or later (trac:#2045) since Trac allows ticket create actions to be defined. }}} == 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 independently for '''owned''' or '''unowned''' tickets. This plugin is sponsored by [http://www.yalwa.de/ Yalwa Branchenbuch]. == Bugs/Feature Requests Existing bugs and feature requests for TicketConditionalCreationStatusPlugin are [report:9?COMPONENT=TicketConditionalCreationStatusPlugin here]. If you have any issues, create a [/newticket?component=TicketConditionalCreationStatusPlugin new ticket]. == Download Download the zipped source from [export:ticketconditionalcreationstatusplugin here]. == Source You can check out TicketConditionalCreationStatusPlugin from [/svn/ticketconditionalcreationstatusplugin here] using Subversion, or [source:ticketconditionalcreationstatusplugin browse the source] with Trac. == Installation General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page. Activate the component in your `trac.ini` file like this: {{{#!ini [components] ticketconditionalcreationstatus.* = enabled }}} Configuration is then 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 '''.owned''' or '''.unowned''': * in the simplest form, such a variable takes the form {{{ -> }}} * you can also give several such rules, like {{{ -> , -> }}} * when you have several content values that should map to the same status, you can use {{{| -> }}} == Example The following example will make ''owned'' tickets of types '''task''' and '''task-dev''' start out as '''assigned''', instead of ''new'', and tickets of type '''plan'' start out as '''new_plan''': {{{#!ini [ticketconditionalcreationstatus] criteria = type type.owned = task|task-dev -> assigned, plan -> new_plan }}} == Recent Changes [[ChangeLog(ticketconditionalcreationstatusplugin, 3)]] == Author/Contributors '''Author:''' [wiki:bof] [[BR]] '''Maintainer:''' [[Maintainer]] [[BR]] '''Contributors:'''