stable

Clone or download

Read-only

feat: Add @artifact column to API return

Part of story #39003 Choose my own columns based on special fields To have a link to artifact view for each artifact, add a column which is always here (in first position) with the uri to artifact view. *Testing:* Feature flag `feature_flag_enable_tql_select` need to be set to 1 In your XTS widget, select whatever you want, you should see @artifact column in browser console > networks. This column must be always in first position and contains a relative uri to artifact view of corresponding artifact. Change-Id: I30550b92cf49ed9583d20faf1d46dd5545bd0d99

Modified Files

Name
M plugins/crosstracker/include/CrossTracker/REST/v1/CrossTrackerReportsResource.php +2 −0 Go to diff View file
M plugins/crosstracker/include/CrossTracker/REST/v1/Representation/CrossTrackerSelectedType.php +1 −0 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/CrossTrackerArtifactReportFactory.php +2 −1 Go to diff View file
A plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/ResultBuilder/Metadata/ArtifactResultBuilder.php +62 −0 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/ResultBuilder/Metadata/MetadataResultBuilder.php +3 −0 Go to diff View file
A plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/ResultBuilder/Representations/ArtifactRepresentation.php +36 −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/ArtifactIdSelectBuilderTest.php +4 −4 Go to diff View file
A plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/Select/ArtifactSelectTest.php +122 −0 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/Select/AssignedToSelectBuilderTest.php +4 −4 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/Select/DateSelectBuilderTest.php +4 −4 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/Select/DescriptionSelectBuilderTest.php +4 −3 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/Select/LastUpdateBySelectBuilderTest.php +4 −3 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/Select/LastUpdateDateSelectBuilderTest.php +4 −3 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/Select/NumericSelectBuilderTest.php +4 −4 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/Select/PrettyTitleSelectBuilderTest.php +4 −4 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/Select/ProjectNameSelectBuilderTest.php +4 −4 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/Select/StaticListSelectBuilderTest.php +4 −4 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/Select/StatusSelectBuilderTest.php +4 −3 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/Select/SubmittedBySelectBuilderTest.php +4 −3 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/Select/SubmittedOnSelectBuilderTest.php +4 −3 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/Select/TextSelectFromBuilderTest.php +4 −3 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/Select/TitleSelectBuilderTest.php +4 −3 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/Select/TrackerNameSelectBuilderTest.php +4 −4 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/Select/UGroupListSelectFromBuilderTest.php +4 −4 Go to diff View file
M plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/Select/UserListSelectFromBuilderTest.php +4 −4 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/ResultBuilder/Metadata/MetadataResultBuilderTest.php +27 −0 Go to diff View file