thebuggenie/thebuggenie — pull request #122 by pb30 (2012-09-17 20:52:24+00:00)
Title: Add "Calculated Field" issue field type

Adds a new custom field type for calculated fields. Each field can be configured with a formula like:

`(({technicaleffort}*5)+({uxdesigneffort}*5))/10`

where `technicaleffort` and `uxdesigneffort` are both names of other custom fields. When viewing the issue, the score will be calculated based on the values of those two fields. This allows for very flexible and customizable triaging of tickets based on custom criteria for each project. Uses EvalMath library to handle parsing/executing formulas to avoid PHP fatal division by zero errors, etc. Added methods on TBGCustomDatatype to determine if the field type is searchable or editable.