stable

Clone or download

Read-only

Add tracker_report_id parameter to kanban column items 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 the column's corresponding value, 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 the column's value - When you do not provide the "query" parameter, no functional change is expected. Change-Id: I70b104dd2e3d12e4985c20e4157a20c2325522ce

Modified Files

Name
A plugins/agiledashboard/include/AgileDashboard/Kanban/ColumnIdentifier.php +52 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Kanban/TrackerReportFilter/ReportFilterFromWhereBuilder.php +25 −11 Go to diff View file
R plugins/agiledashboard/include/AgileDashboard/REST/v1/Kanban/KanbanBacklogRepresentation.php Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/REST/v1/Kanban/ItemCollectionRepresentationBuilder.php +92 −0 Go to diff View file
D plugins/agiledashboard/include/AgileDashboard/REST/v1/Kanban/KanbanBacklogRepresentationBuilder.php +0 −70 Go to diff View file
D plugins/agiledashboard/include/AgileDashboard/REST/v1/Kanban/KanbanItemCollectionRepresentation.php +0 −58 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/Kanban/KanbanResource.php +70 −24 Go to diff View file
R plugins/agiledashboard/include/AgileDashboard/REST/v1/Kanban/TrackerReportFilter/FilteredBacklogRepresentationBuilder.php Go to diff View file
M plugins/agiledashboard/include/autoload.php +6 −6 Go to diff View file