stable

Clone or download

Read-only

feat: Add select builder for List fields fields

Part of story #38263 Choose my own columns based on field name (numeric, text, dates) User can now select a list 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: Ia542c71ab754c6263e4ac047f36acde73a90a9cf

Modified Files

Name
M plugins/crosstracker/include/CrossTracker/REST/v1/CrossTrackerReportsResource.php +3 −1 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/CrossTrackerArtifactReportFactory.php +1 −1 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/SelectBuilder/Field/FieldSelectFromBuilder.php +3 −1 Go to diff View file
A plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/SelectBuilder/Field/StaticList/StaticListSelectFromBuilder.php +74 −0 Go to diff View file
M plugins/crosstracker/include/crosstrackerPlugin.php +3 −1 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/Select/DateSelectBuilderTest.php +3 −1 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/Select/NumericSelectBuilderTest.php +3 −1 Go to diff View file
A plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/Select/StaticListSelectBuilderTest.php +224 −0 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/Select/TextSelectFromBuilderTest.php +3 −1 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 +29 −0 Go to diff View file