stable

Clone or download

Read-only

feat: Build Date field API return

Part of story #38263 Choose my own columns based on field name (numeric, text, dates) User can select on date[time] fields, they are returned in format 'Y-m-d\TH:i:sP' *Testing:* In plugins/crosstracker/scripts/cross-tracker/src/api/rest-querier.ts L80 change return_format to "new" and pnpm build In browser console If you select a date[time] field in you XTS widget, you should see this field values for each artifacts Change-Id: I62e8dcc0cdc9c4dfe8d5a86e2054ce529f2cecee

Modified Files

Name
M plugins/crosstracker/include/CrossTracker/REST/v1/CrossTrackerReportsResource.php +6 −1 Go to diff View file
M plugins/crosstracker/include/CrossTracker/REST/v1/Representation/CrossTrackerReportContentRepresentation.php +6 −1 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/CrossTrackerArtifactReportFactory.php +6 −1 Go to diff View file
A plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/ResultBuilder/Field/Date/DateResultBuilder.php +77 −0 Go to diff View file
A plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/ResultBuilder/Field/Date/DateResultRepresentation.php +37 −0 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/ResultBuilder/Field/FieldResultBuilder.php +5 −3 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/SelectBuilder/Field/Date/DateSelectFromBuilder.php +2 −1 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/SelectBuilder/Field/Numeric/NumericSelectFromBuilder.php +2 −1 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/SelectBuilder/Field/StaticList/StaticListSelectFromBuilder.php +2 −1 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/SelectBuilder/Field/Text/TextSelectFromBuilder.php +2 −1 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/SelectBuilder/Field/UGroupList/UGroupListSelectFromBuilder.php +2 −1 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/SelectBuilder/Field/UserList/UserListSelectFromBuilder.php +2 −1 Go to diff View file
A plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/SelectResultKey.php +44 −0 Go to diff View file
M plugins/crosstracker/include/crosstrackerPlugin.php +8 −2 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/Select/DateSelectBuilderTest.php +34 −55 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Tests/Report/ArtifactReportFactoryInstantiator.php +5 −0 Go to diff View file
M plugins/crosstracker/tests/unit/CrossTracker/Report/Query/Advanced/ResultBuilder/Field/FieldResultBuilderTest.php +49 −2 Go to diff View file