Changes between Version 9 and Version 10 of TicketConditionalCreationStatusPlugin
- Timestamp:
- Jul 23, 2015, 2:20:39 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TicketConditionalCreationStatusPlugin
v9 v10 1 1 [[PageOutline(2-5,Contents,pullout)]] 2 2 3 = Conditionally set ticket creation status =3 = Conditionally set ticket creation status 4 4 5 == Description ==5 == Description 6 6 7 This plugin is an evolution of the TicketCreationStatusPlugin, 8 permitting conditioned setting of creation status, depending on 9 arbitrary ticket field values, e.g. type. 7 This plugin is an evolution of the TicketCreationStatusPlugin, permitting conditioned setting of creation status, depending on arbitrary ticket field values, e.g. type. 10 8 11 Status can be chosen independ antly for '''owned''' or '''unowned''' tickets.9 Status can be chosen independently for '''owned''' or '''unowned''' tickets. 12 10 13 == Usage == 11 This plugin is sponsored by [http://www.yalwa.de/ Yalwa Branchenbuch]. 12 13 == Bugs/Feature Requests 14 15 Existing bugs and feature requests for TicketConditionalCreationStatusPlugin are 16 [report:9?COMPONENT=TicketConditionalCreationStatusPlugin here]. 17 18 If you have any issues, create a 19 [/newticket?component=TicketConditionalCreationStatusPlugin new ticket]. 20 21 == Download 22 23 Download the zipped source from [download:ticketconditionalcreationstatusplugin here]. 24 25 == Source 26 27 You can check out TicketConditionalCreationStatusPlugin from [http://trac-hacks.org/svn/ticketconditionalcreationstatusplugin here] using Subversion, or [source:ticketconditionalcreationstatusplugin browse the source] with Trac. 28 29 == Installation 14 30 15 31 Install the plugin using setuptools ([http://trac.edgewall.org/wiki/TracPlugins how to]). 16 Activate the component in trac.ini like this:17 32 18 {{{ 19 #!ini33 Activate the component in your `trac.ini` file like this: 34 {{{#!ini 20 35 [components] 21 36 ticketconditionalcreationstatus.* = enabled 22 37 }}} 23 38 24 Configuration is then written in a separate section, headed {{{[ticketconditionalcreationstatus]}}}. 39 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. 25 40 26 There is one fixed configuration variable, '''criteria''', taking as value a list of ticket field 27 names that you want to use as conditions. 28 29 For any of the ''criteria'' you can then write variables '''<fieldname>.owned''' or '''<fieldname>.unowned'''. 41 For any of the ''criteria'' you can then write variables '''<fieldname>.owned''' or '''<fieldname>.unowned''': 30 42 * in the simplest form, such a variable takes the form {{{<fieldcontent> -> <ticketstatus>}}} 31 43 * you can also give several such rules, like {{{<content1> -> <status1>, <content2> -> <status2>}}} 32 44 * when you have several content values that should map to the same status, you can use {{{<content1>|<content2> -> <status>}}} 33 45 34 == Example ==46 == Example 35 47 36 The following example will make ''owned'' tickets of types '''task''' and '''task-dev''' 37 start out as '''assigned''', instead of ''new'', and tickets of type '''plan'' start 38 out as '''new_plan'''. 39 40 {{{ 41 #!ini 48 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''': 49 {{{#!ini 42 50 [ticketconditionalcreationstatus] 43 51 criteria = type … … 45 53 }}} 46 54 47 == Bugs/Feature Requests == 48 49 Existing bugs and feature requests for TicketConditionalCreationStatusPlugin are 50 [report:9?COMPONENT=TicketConditionalCreationStatusPlugin here]. 51 52 If you have any issues, create a 53 [http://trac-hacks.org/newticket?component=TicketConditionalCreationStatusPlugin&owner=bof new ticket]. 54 55 == Download == 56 57 Download the zipped source from [download:ticketconditionalcreationstatusplugin here]. 58 59 == Source == 60 61 You can check out TicketConditionalCreationStatusPlugin from [http://trac-hacks.org/svn/ticketconditionalcreationstatusplugin here] using Subversion, or [source:ticketconditionalcreationstatusplugin browse the source] with Trac. 62 63 == Recent Changes == 55 == Recent Changes 64 56 65 57 [[ChangeLog(ticketconditionalcreationstatusplugin, 3)]] 66 58 67 == Author/Contributors ==59 == Author/Contributors 68 60 69 61 '''Author:''' [wiki:bof] [[BR]] 70 '''Maintainer:''' [wiki:bof] [[BR]] 71 '''Sponsor:''' [http://www.yalwa.de/ Yalwa Branchenbuch] [[BR]] 62 '''Maintainer:''' [[Maintainer]] [[BR]] 72 63 '''Contributors:'''