stable

Clone or download

Read-only

Check that provided artifacts can be added into REST body content

This is part of story #10143 add/remove backlog items in planning view Artifacts added into PATCH projects/:id/backlog are now checked. An error will be raised if at least one provided artifact id is not an artifact that comes from top backlog trackers. Change-Id: I4a579bde33639153093044c3a1bbfddc6f41630e

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/REST/v1/Milestone/MilestoneElementAdder.php +50 −1 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/REST/v1/Milestone/NoRootPlanningException.php +34 −0 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/REST/v1/Milestone/ProvidedAddedIdIsNotInPartOfTopBacklogException.php +34 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/ProjectBacklogResource.class.php +17 −7 Go to diff View file
M plugins/agiledashboard/phpunit/REST/v1/Milestone/MilestoneElementAdderTest.php +93 −2 Go to diff View file