stable

Clone or download

Read-only

Add tracker_report_id parameter to kanban backlog REST route

This is part of story #10663: filtered view in kanban How to test: - Create a tracker report in normal mode and set criteria. - Provide the report id in the "query" parameter. The REST route should return a column filtered by the report. - If you use the Status semantic field in your criteria and you set a value different from "Any" or "None", then the REST route will return an empty column (because it conflicts). - The REST route should also filter with TQL reports. - If you use a TQL "OR" with Status, the filter will enforce "None" (as usual for Backlog) - When you do not provide the "query" parameter, no functional change is expected. Change-Id: Ie1b2c56b88d9426aa739614bf9bed6a3b39a7f65

Modified Files

Name
A plugins/agiledashboard/include/AgileDashboard/Kanban/TrackerReportFilter/ReportFilterFromWhereBuilder.php +47 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/Kanban/KanbanBacklogRepresentation.php +12 −30 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/REST/v1/Kanban/KanbanBacklogRepresentationBuilder.php +70 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/Kanban/KanbanResource.php +130 −48 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/REST/v1/Kanban/TrackerReportFilter/FilteredBacklogRepresentationBuilder.php +102 −0 Go to diff View file
M plugins/agiledashboard/include/autoload.php +5 −2 Go to diff View file
A plugins/tracker/include/REST/v1/ArtifactMatchingReportCollection.php +51 −0 Go to diff View file
A plugins/tracker/include/REST/v1/ReportArtifactFactory.php +73 −0 Go to diff View file
M plugins/tracker/include/Tracker/Report/Tracker_Report.class.php +24 −6 Go to diff View file
M plugins/tracker/include/autoload.php +4 −2 Go to diff View file
A plugins/tracker/tests/REST_Backend/ReportArtifactFactoryTest.php +83 −0 Go to diff View file
M src/common/REST/QueryParameterParser.php +34 −13 Go to diff View file
M tests/simpletest/common/REST/QueryParameterParserTest.php +21 −0 Go to diff View file