stable

Clone or download

Read-only

Add REST route to reorder children

PATCH /backlog_items/:id/children { "order": { "ids": [123, 456], "compared_to": 789, "direction": "after" } } Part of story #7511: Drag'nDrop backlog items Change-Id: Iecb5a69e78583771138830fc69c0edf901e45ae6

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/REST/v1/BacklogItemResource.php +64 −15 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/REST/v1/OrderRepresentation.php +60 −0 Go to diff View file
M plugins/agiledashboard/include/autoload.php +3 −2 Go to diff View file
M plugins/tracker/db_tests/PriorityDaoTest.php +104 −72 Go to diff View file
A plugins/tracker/include/Tracker/Artifact/dao/NoPredecessorException.php +22 −0 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/dao/PriorityDao.class.php +257 −19 Go to diff View file
M src/common/REST/Header.class.php +4 −0 Go to diff View file
M tests/rest/BacklogItemsTest.php +50 −1 Go to diff View file