stable

Clone or download

Read-only

feat: Add select builder for Text fields

Part of story #38263 Choose my own columns based on field name (numeric, text, dates) User can now select text fields with TQL. But nothing changes on the view as the return format of REST API is not defined yet *Testing:* You can check RestLogs (/var/log/tuleap/rest_api_log), the result of sql query is dumped into them Change-Id: Ie0655a57c4b6a8cd8c4bfb3dca74e7f786af02df

Modified Files

Name
M plugins/crosstracker/include/CrossTracker/REST/v1/CrossTrackerReportsResource.php +2 −0 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/SelectBuilder/Field/FieldSelectFromBuilder.php +3 −2 Go to diff View file
A plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/SelectBuilder/Field/Text/TextSelectFromBuilder.php +58 −0 Go to diff View file
M plugins/crosstracker/include/crosstrackerPlugin.php +2 −0 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/Select/DateSelectBuilderTest.php +2 −0 Go to diff View file
A plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/Select/TextSelectFromBuilderTest.php +157 −0 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Tests/Report/ArtifactReportFactoryInstantiator.php +2 −0 Go to diff View file
M plugins/crosstracker/tests/unit/CrossTracker/Report/Query/Advanced/SelectBuilder/Field/FieldSelectFromBuilderTest.php +24 −0 Go to diff View file
M plugins/tracker/tests/unit/Stub/RetrieveFieldTypeStub.php +1 −0 Go to diff View file