stable

Clone or download

Read-only

feat: Build user group list field API return

Part of story #38310 Choose my own columns based on field name (lists) User can select on user group list fields, the values of the field is returned *Testing:* In plugins/crosstracker/scripts/cross-tracker/src/api/rest-querier.ts L80 change return_format to "selectable" and pnpm build In browser console If you select a user group list field in you XTS widget, you should see this field values for each artifacts Change-Id: Ieabe5366b26a7c7942322722ac5415ab031da9d2

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/UGroupList/UGroupListRepresentation.php +41 −0 Go to diff View file
A plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/ResultBuilder/Field/UGroupList/UGroupListResultBuilder.php +79 −0 Go to diff View file
A plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/ResultBuilder/Field/UGroupList/UGroupListValueRepresentation.php +41 −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/UGroupListSelectFromBuilderTest.php +46 −98 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Tests/Report/ArtifactReportFactoryInstantiator.php +5 −1 Go to diff View file
M plugins/crosstracker/tests/unit/CrossTracker/Report/Query/Advanced/ResultBuilder/Field/FieldResultBuilderTest.php +90 −2 Go to diff View file