stable

Clone or download

Read-only

Be able to open a campaign in REST

This is part of request #20088 Improve the management of closed campaigns You are now able to open a campaign using the REST route PATCH testmanagement_campaigns/id with the following body: { "change_status": "open" } Change-Id: I70a764e305d457eb4ad73437d8df9193a03d3348

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/REST/v1/Kanban/KanbanResource.php +5 −5 Go to diff View file
M plugins/testmanagement/include/TestManagement/REST/v1/CampaignArtifactUpdateFieldValuesBuilder.php +17 −10 Go to diff View file
M plugins/testmanagement/include/TestManagement/REST/v1/CampaignStatusChangeUnknownValueException.php +1 −1 Go to diff View file
M plugins/testmanagement/include/TestManagement/REST/v1/CampaignUpdater.php +2 −2 Go to diff View file
M plugins/testmanagement/include/TestManagement/REST/v1/CampaignsResource.class.php +3 −3 Go to diff View file
M plugins/testmanagement/tests/rest/TestManagement/CampaignsTest.php +41 −0 Go to diff View file
M plugins/testmanagement/tests/unit/TestManagement/REST/v1/CampaignArtifactUpdateFieldValuesBuilderTest.php +71 −1 Go to diff View file
R plugins/tracker/include/Tracker/Semantic/Status/SemanticStatusNotOpenValueNotFoundException.php Go to diff View file
A plugins/tracker/include/Tracker/Semantic/Status/SemanticStatusOpenValueNotFoundException.php +34 −0 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Status/StatusValueRetriever.php +21 −3 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Semantic/Status/StatusValueRetrieverTest.php +179 −13 Go to diff View file