[[PageOutline(2-5,Contents,pullout)]] = 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 ([http://trac.edgewall.org/wiki/TracPlugins how to]). Activate the component in trac.ini like this: {{{ [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'''. {{{ [ticketconditionalcreationstatus] criteria = type type.owned = task|task-dev -> assigned, plan -> new_plan }}} == Bugs/Feature Requests == Existing bugs and feature requests for TicketConditionalCreationStatusPlugin are [report:9?COMPONENT=TicketConditionalCreationStatusPlugin here]. If you have any issues, create a [http://trac-hacks.org/newticket?component=TicketConditionalCreationStatusPlugin&owner=bof new ticket]. == Download == Download the zipped source from [download:ticketconditionalcreationstatusplugin here]. == Source == You can check out TicketConditionalCreationStatusPlugin from [http://trac-hacks.org/svn/ticketconditionalcreationstatusplugin here] using Subversion, or [source:ticketconditionalcreationstatusplugin browse the source] with Trac. == Recent Changes == [[ChangeLog(ticketconditionalcreationstatusplugin, 3)]] == Author/Contributors == '''Author:''' [wiki:bof] [[BR]] '''Maintainer:''' [wiki:bof] [[BR]] '''Sponsor:''' [http://www.yalwa.de/ Yalwa Branchenbuch] [[BR]] '''Contributors:'''