stable

Clone or download

Read-only

feat: XML import of iterations trackers configuration

Create a new Scrum project. Export it (with `--dir` to export it as directory to ease following steps). Edit the project.xml file and inject the dashboard configuration: ``` <dashboards> <dashboard name="Roadmap"> <line> <column> <widget name="plugin_roadmap_project_widget"> <preference name="roadmap"> <value name="tracker_id">T1391</value> <value name="lvl1_iteration_tracker_id">T1392</value> <value name="lvl2_iteration_tracker_id">T1393</value> </preference> </widget> </column> </line> </dashboard> </dashboards> ``` Look for Epics (resp. Relases, Sprints) tracker id, and adjust the above xml snippet to inject your data for tracker_id (resp. lvl1_iteration_tracker_id, lvl2_iteration_tracker_id). Import the project. The widget has been created, and its configuration modal asserts that it is preconfigured to follow Epics with iterations Releases and Sprints. Note: The widget itself displays an error because Scrum template does not set required semantics for Gantt, but we don't care here. Part of story #21379: Display iterations on top of roadmap Change-Id: Id940e5b859132ba760772259597664697667e346

Modified Files

Name
M plugins/roadmap/include/Roadmap/Widget/RoadmapConfigureAtXMLImport.php +37 −8 Go to diff View file
M plugins/roadmap/tests/unit/Roadmap/Widget/RoadmapConfigureAtXMLImportTest.php +188 −1 Go to diff View file