stable

Clone or download

Read-only

Add tracker_report_id parameter to cumulative flow 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", then the REST route will return empty columns (because it conflicts). - The REST route should also filter with TQL reports. - If you use "status" in the TQL query, then the REST route will return empty columns (because it conflicts). - When you do not provide the "query" parameter, no functional change is expected. Change-Id: I191c57a50a660a2bfabe001167b13ccddc4d9125

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/KanbanCumulativeFlowDiagramDao.php +24 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/Kanban/CumulativeFlowDiagram/DiagramRepresentationBuilder.php +16 −158 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/REST/v1/Kanban/CumulativeFlowDiagram/OrderedColumnRepresentationsBuilder.php +192 −0 Go to diff View file
R plugins/agiledashboard/include/AgileDashboard/REST/v1/Kanban/CumulativeFlowDiagram/TooMuchPointsException.php Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/Kanban/KanbanColumnRepresentation.php +12 −10 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/Kanban/KanbanResource.php +83 −26 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/REST/v1/Kanban/TrackerReportFilter/FilteredDiagramRepresentationBuilder.php +102 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/Kanban/TrackerReportFilter/FilteredItemCollectionRepresentationBuilder.php +2 −22 Go to diff View file
M plugins/agiledashboard/include/autoload.php +5 −4 Go to diff View file