Changes between Version 6 and Version 7 of ValuePropagationPlugin
- Timestamp:
- Jun 15, 2015, 7:17:01 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ValuePropagationPlugin
v6 v7 1 1 [[PageOutline(2-5,Contents,pullout)]] 2 2 3 = Value Propagation Plugin =3 = Value Propagation Plugin 4 4 5 5 == Description == 6 6 7 A configurable ticket change listener plugin that can update other fields or fields on other tickets when a ticket changes. This is a fairly rough first draft. It handles ticket changes fairly well, doesn't blow up on ticket creation and doesn't do anything on ticket deletion. Looking for feedback.7 A configurable ticket change listener plugin that can update other fields or fields on other tickets when a ticket changes. This is a fairly rough first draft. It handles ticket changes fairly well, doesn't blow up on ticket creation and doesn't do anything on ticket deletion. 8 8 9 Update values in other tickets based on ticket changes. For example, with Subtickets plugin and Timing and Estimation plugin in place, a parent ticket's estimate may be the sum of its children's estimates. This plugin can update the parent when the child changes.9 Update values in other tickets based on ticket changes. For example, with SubticketsPlugin and TimingAndEstimationPlugin in place, a parent ticket's estimate may be the sum of its children's estimates. This plugin can update the parent when the child changes. 10 10 11 11 There are three types of relationships: … … 17 17 There are several methods of updating the other ticket's value: 18 18 19 * sum - add this ticket's value to the other ticket's value. (This ticket's old value is subtracted first.)Essentially:19 * sum - add this ticket's value to the other ticket's value. (This ticket's old value is subtracted first.) Essentially: 20 20 21 21 {{{ … … 24 24 }}} 25 25 26 * min - the other ticket's value is the minimum of it 's old value and this ticket's value27 * max - the other ticket's value is the maximum of it 's old value and this ticket's value28 * suffix - this ticket's value is added as a suffix to the other ticket's value. 26 * min - the other ticket's value is the minimum of its old value and this ticket's value 27 * max - the other ticket's value is the maximum of its old value and this ticket's value 28 * suffix - this ticket's value is added as a suffix to the other ticket's value. (This ticket's old value is removed first.) 29 29 * prefix - this ticket's value is added as a prefix to the other ticket's value. (This ticket's old value is removed first.) 30 30 … … 38 38 Configuration looks something like: 39 39 40 {{{ 40 {{{#!ini 41 41 [value_propagation] 42 42 r1.type = link … … 56 56 }}} 57 57 58 == Bugs/Feature Requests ==58 == Bugs/Feature Requests 59 59 60 60 Existing bugs and feature requests for ValuePropagationPlugin are … … 62 62 63 63 If you have any issues, create a 64 [ http://trac-hacks.org/newticket?component=ValuePropagationPlugin&owner=ChrisNelson new ticket].64 [/newticket?component=ValuePropagationPlugin new ticket]. 65 65 66 == Download == 66 [[TicketQuery(component=ValuePropagationPlugin&group=type,format=progress)]] 67 68 == Download 67 69 68 70 Download the zipped source from [download:valuepropagationplugin here]. 69 71 70 == Source ==72 == Source 71 73 72 74 You can check out ValuePropagationPlugin from [http://trac-hacks.org/svn/valuepropagationplugin here] using Subversion, or [source:valuepropagationplugin browse the source] with Trac. 73 75 74 == Installation ==76 == Installation 75 77 76 78 1. [#Download Download] the source and run: 77 {{{ 79 {{{#!sh 78 80 python setup.py bdist_egg 79 81 }}} 80 82 81 83 2. Install it in one of the following ways: 82 {{{ 84 {{{#!sh 83 85 cp dist/*.egg path/to/trac/env/plugins 84 86 }}} 85 {{{ 87 or: 88 {{{#!sh 86 89 easy_install dist/*.egg 87 90 }}} 88 91 89 3. Enable the plugin in {{{trac.ini}}} as follows:90 {{{ 92 3. Enable the plugin in your `trac.ini` file: 93 {{{#!ini 91 94 [components] 92 95 valuepropagation.* = enabled 93 96 }}} 94 97 95 == Example ==98 == Example 96 99 97 {{{ 100 {{{#!ini 98 101 [value_propagation] 99 102 # Update based on a field in the ticket … … 108 111 }}} 109 112 110 == Recent Changes ==113 == Recent Changes 111 114 112 115 [[ChangeLog(valuepropagationplugin, 3)]] 113 116 114 == Author/Contributors ==117 == Author/Contributors 115 118 116 119 '''Author:''' [wiki:ChrisNelson] [[BR]] 117 '''Maintainer:''' [ wiki:ChrisNelson] [[BR]]120 '''Maintainer:''' [[Maintainer]] [[BR]] 118 121 '''Contributors:'''