stable

Clone or download

Read-only

Have a converter from folders to scrum v2

This is part of story #9857: see top backlog planning with mono-milestone How to test: - Set up an artifactsfolders tracker. Create a hierarchy of folders with items linked to them. Example: folder R1 <-- Artifact A |- R1.1 <-- Artifact B `- R1.2 `- R1.2.1 <-- Artifact C - In your web container, run ./php-launcher.sh /usr/share/tuleap/plugins/artifactsfolders/bin/convert_from_folders_to_scrum.php -p <project_id> -u <username_of_project_member> - The user must have permission to update the artifactlink field - Once the script is run, you should have the following links: R1 --> Artifact A, B, C R1.1 --> Artifact B R1.2 --> Artifact C R1.2.1 --> Artifact C - Once the script is run, all configuration for trackers of the project used as artifacts folders will be removed (No more folders in the project). - If you set up a Scrum v2 planning in agiledashboard using the folder tracker as milestones and the items tracker as backlog items, everything should work and the hierarchy of folders should be reproduced. Change-Id: Ia8a4d2e5650c3470480f2f592ed9494c35deef75

Modified Files

Name
A plugins/artifactsfolders/bin/convert_from_folders_to_scrum.php +121 −0 Go to diff View file
A plugins/artifactsfolders/include/Converter/ArtifactsFoldersToScrumV2Converter.php +119 −0 Go to diff View file
A plugins/artifactsfolders/include/Converter/CollectionOfLinksToAdd.php +47 −0 Go to diff View file
A plugins/artifactsfolders/include/Converter/ConverterDao.php +78 −0 Go to diff View file
M plugins/artifactsfolders/include/autoload.php +5 −2 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact.class.php +11 −1 Go to diff View file