stable

Clone or download

Read-only

feat: Build user list field API return

Part of story #38310 Choose my own columns based on field name (lists) User can select on user list fields, the values of the field is returned *Testing:* Feature flag `feature_flag_enable_tql_select` need to be set to 1 In API explorer, Cross_Tracker_Reports -> GET /cross_tracker_reports/{id}/content If you select a user list field in your TQL query, you should see the field values for each artifacts Change-Id: I09c7373c4930d9489647c392ad259fbb7605df39

Modified Files

Name
M plugins/crosstracker/include/CrossTracker/REST/v1/CrossTrackerReportsResource.php +3 −0 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/ResultBuilder/Field/FieldResultBuilder.php +3 −1 Go to diff View file
A plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/ResultBuilder/Field/UserList/UserListRepresentation.php +41 −0 Go to diff View file
A plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/ResultBuilder/Field/UserList/UserListResultBuilder.php +82 −0 Go to diff View file
A plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/ResultBuilder/Field/UserList/UserListValueRepresentation.php +75 −0 Go to diff View file
M plugins/crosstracker/include/crosstrackerPlugin.php +2 −0 Go to diff View file
M plugins/crosstracker/site-content/fr_FR/LC_MESSAGES/tuleap-crosstracker.po +3 −0 Go to diff View file
M plugins/crosstracker/site-content/pt_BR/LC_MESSAGES/tuleap-crosstracker.po +3 −0 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/Select/UserListSelectFromBuilderTest.php +56 −109 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Tests/Report/ArtifactReportFactoryInstantiator.php +3 −0 Go to diff View file
M plugins/crosstracker/tests/unit/CrossTracker/Report/Query/Advanced/ResultBuilder/Field/FieldResultBuilderTest.php +87 −2 Go to diff View file