The component responsible for the Roadmap feature in Trac is the RoadmapModule. It provides an overview of the milestones and the progress in each of these milestones.
The component responsible for interacting with each milestone is the MilestoneModule. A milestone also provides an overview of the progress in terms of tickets processed.
The grouping of tickets in each progress bar is governed by the use of another component implementing the ITicketGroupStatsProvider interface. By default, this is the DefaultTicketGroupStatsProvider (for both the RoadmapModule and the MilestoneModule), which provides a configurable way to specify how tickets are grouped.
See also trac.ticket.roadmap.ITicketGroupStatsProvider extension point
Gather statistics on a group of tickets.
This method returns a valid TicketGroupStats object.
Encapsulates statistics on a group of tickets.
Parameters: |
|
---|
Adds a division to this stats’ group’s progress bar.
Parameters: |
|
---|
Changed in version 0.12: deprecated countsToProg argument was removed, use overall_completion instead
View and edit individual milestones.
Name of the component implementing ITicketGroupStatsProvider, which is used to collect statistics on groups of tickets for display in the milestone views.
Give an overview over all the milestones.
Name of the component implementing ITicketGroupStatsProvider, which is used to collect statistics on groups of tickets for display in the roadmap views.
Configurable ticket group statistics provider.
See TracIni#milestone-groups-section for a detailed example configuration.
Apply permissions to a set of milestone tickets as returned by get_tickets_for_milestone().
Retrieve all tickets associated with the given milestone.
Changed in version 1.0: the db parameter is no longer needed and will be removed in version 1.1.1
Get the tickets stats data grouped by ticket field by.
per_group_stats_data(gstat, group_name) should return a data dict to include for the group with field value group_name.