stable

Clone or download

Read-only

Get the background color in planning REST routes

Part of story #11543 Use new palette colors as background color in A.D - backlog item representations now have a member 'background_color_name' which is the standardized dash-case name of the TLP color of the item - 'background_color_name' is an empty string when something is not defined The following REST routes should return 'background_color_name' property: - GET /backlog_items/:id - GET /backlog_items/:id/children - GET /milestones/:id/backlog - GET /milestones/:id/content - GET /projects/:id/backlog Change-Id: Id83e334aea0e295512d1a588cb7caef7eec88922

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/REST/v1/BacklogItemRepresentation.php +4 −1 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/BacklogItemRepresentationFactory.class.php +88 −13 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/BacklogItemResource.php +8 −1 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/MilestoneResource.class.php +7 −1 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/ProjectBacklogResource.class.php +17 −5 Go to diff View file
M plugins/agiledashboard/include/AgileDashboardRouterBuilder.php +11 −2 Go to diff View file
M src/common/REST/v1/BacklogItemRepresentationBase.class.php +10 −0 Go to diff View file