stable
Clone or download
Read-only
This will retrieve the iterations to display in the iteration timeframe ribbons later. Note: there are two levels of ribbons, you have to adjust the query accordingly with "level" parameter. The feature is hidden, after forgeupgrade, you have to manually edit plugin_roadmap_widget table and insert iteration tracker id (e.g Releases, Sprints). If those trackers are properly configured (title & timeframe semantic), then all artifacts will be returned via the aforementionned route. A filtering on the dates will be done client side later according to displayed tasks and time units. Part of story #21379: Display iterations on top of roadmap Change-Id: I69302cc1fcd7068cd6f14e02823bb75f7765b42d
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/roadmap/db/install.sql | +2 | −0 | Go to diff View file |
A | plugins/roadmap/db/mysql/updates/2021/202105201340_add_timeframe_tracker_id.php | +51 | −0 | Go to diff View file |
A | plugins/roadmap/include/Roadmap/REST/v1/IterationRepresentation.php | +66 | −0 | Go to diff View file |
A | plugins/roadmap/include/Roadmap/REST/v1/IterationsRetriever.php | +256 | −0 | Go to diff View file |
A | plugins/roadmap/include/Roadmap/REST/v1/PaginatedCollectionOfIterationRepresentation.php | +62 | −0 | Go to diff View file |
M | plugins/roadmap/include/Roadmap/REST/v1/RoadmapResource.php | +66 | −0 | Go to diff View file |
M | plugins/roadmap/site-content/fr_FR/LC_MESSAGES/tuleap-roadmap.po | +8 | −0 | Go to diff View file |
A | plugins/roadmap/tests/unit/Roadmap/REST/v1/IterationsRetrieverTest.php | +1297 | −0 | Go to diff View file |
M | src/common/REST/JsonCast.class.php | +8 | −0 | Go to diff View file |