stable
Clone or download
Read-only
part of story #9090 have computed fields compatible with artifact links v2 Computed fields with custom values are managed by the REST API You can switch from custom value to computed field by setting "is_autocomputed" : true The form has also been reworked to have something consistent between the API and the HTML form and thus make things easier for the developper to understand. Change-Id: I42e43b7a5c5456085dddd07ce2820a8ec1fca4ef
Modified Files
Name | ||||
---|---|---|---|---|
A | plugins/tracker/include/REST/Artifact/ArtifactFieldValueComputedFullRepresentation.class.php | +67 | −0 | Go to diff View file |
M | plugins/tracker/include/REST/v1/ArtifactValuesRepresentation.class.php | +19 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field.class.php | +0 | −9 | Go to diff View file |
M | plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Computed.class.php | +128 | −21 | Go to diff View file |
M | plugins/tracker/include/autoload.php | +3 | −2 | Go to diff View file |
M | plugins/tracker/tests/Tracker_FormElement_Field_ComputedTest.php | +116 | −1 | Go to diff View file |
M | plugins/tracker/www/scripts/TrackerArtifactEditionSwitcher.js | +14 | −13 | Go to diff View file |