stable

Clone or download

Read-only

Move the initial effort semantic for numeric fields

This is part of story #11346 move artifact's "initial_effort" With this patch, the initial effort semantic is moved with the artifact if: * Both trackers have this semantic defined * Both semantic field have the same type * Both fields must not be a list field Move an initial based on a list field (selectbox or radiobutton) will be done in a dedicated commit. Change-Id: I2d71b6d443ead71e3496e99a3e89067429a8a6da

Modified Files

Name
A plugins/agiledashboard/include/AgileDashboard/Semantic/MoveChangesetXMLUpdater.php +79 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Semantic/MoveSemanticChecker.php +2 −1 Go to diff View file
M plugins/agiledashboard/include/agiledashboardPlugin.class.php +46 −5 Go to diff View file
A plugins/agiledashboard/phpunit/AgileDashboard/Semantic/MoveChangesetXMLUpdaterTest.php +101 −0 Go to diff View file
M plugins/agiledashboard/phpunit/AgileDashboard/Semantic/MoveSemanticCheckerTest.php +28 −0 Go to diff View file
M plugins/tracker/include/REST/v1/ArtifactsResource.class.php +1 −1 Go to diff View file
A plugins/tracker/include/Tracker/Events/MoveArtifactGetExternalSemanticTargetField.php +80 −0 Go to diff View file
A plugins/tracker/include/Tracker/Events/MoveArtifactParseFieldChangeNodes.php +113 −0 Go to diff View file
M plugins/tracker/include/Tracker/XML/Updater/MoveChangesetXMLUpdater.php +55 −3 Go to diff View file
M plugins/tracker/phpunit/Tracker/XML/Updater/MoveChangesetXMLUpdaterTest.php +71 −6 Go to diff View file
M plugins/tracker/tests/rest/ArtifactsActions/ArtifactsActionsTest.php +1 −0 Go to diff View file
M plugins/tracker/tests/rest/_fixtures/MoveArtifact/project.xml +31 −88 Go to diff View file