User's Guide > About the User's Guide > Codebeamer: Common Concepts > Trackers > Dynamic Pick-List Fields > Recommended Combinations of Distribution and Aggregation Rules
Recommended Combinations of Distribution and Aggregation Rules
If a field has both, an aggregation rule and a distribution rule, both rules must not conflict.
Choose the aggregation rule first and then decide which distribution rule (if any) is appropriate.
Distribution rule
Aggregation rule
Effect on changing the parent value
Set
Any, except Sum/Total
Overwrites child values with the parent value.
Default
--
Overwrites empty child values with the parent value.
Least
Maximum
No child value may be larger than the parent value. If a parent value is reduced, and a child value exceeds the new parent value, the child's value is set to the new parent value. Subsequent increases in the parent value have no effect on child values.
Greatest
Minimum
No child value may be smaller than the parent value. Increasing the parent value also increases the child values that are lower than this new parent value. Decreasing the parent value has no effect on child values.
Fraction
Sum/Total
Changing the parent value sets the child values to a parent value or number of children.
Subset
Union
All child values must be a subset of the parent value. Removing a parent value also removes that value from all child value lists. Adding a new parent value has no effect on child values.
Superset
Intersection
All parent values must also be contained in the child value lists. Adding a parent value also adds that value to all child value lists.
Removing a parent value has no effect on child values.
Close recursively
Close upwards
If all children are closed, the parent must also be closed. Closing the parent also closes all children. State transitions other than close are neither distributed nor aggregated.
Close recursively
Minimum
Similar to the above, but child state transitions are aggregated into parent state transitions (including close).
These aggregation and distribution rule recommendations don't have to be followed, but the resulting effect may be difficult to predict if the suggestions are ignored.
For new trackers, the recommended aggregation and distribution rules are placed by default with the corresponding fields. In existing trackers, the distribution and aggregation functions are available, but there is no automatic rule setting. The rules are implemented only on new issues.
Examples
Numeric Field Type Examples:
Aggregation Rule
Distribution Rule
Change
Result
Maximum
--
Child values (1, 3, 5, 7) to (1, 3, 5, 8)
Parent value changes from 7 to 8
Maximum
Least
Parent value changes from 8 to 7
Child value changes from 8 to 7
Set or Choice Field Examples:
Aggregation Rule
Distribution Rule
Change
Result
Union
Subset
Child value sets change from (1,2,3) and (3,4,5) to (1,2,3) and (4,5,6)
Parent value sets change from (1,2,3,4,5) to (1,2,3,4,5,6)
Intersection
Superset
Child Value sets change from (1,2,3) and (2,3,4) to (1,2) and (1,4)
Parent value set changes from (2,3) to (1)
Was this helpful?