View Issue Details

IDProjectCategoryView StatusLast Update
0006527mantisbtfeaturepublic2008-01-19 04:25
Reporterjotango Assigned Togiallu  
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionduplicate 
Summary0006527: New Report: progress on milestones
Description

I really like the milestone concept trac uses. I am currently replicating this, assigning bugs to product milestones using a custom field called milestone.

It would be great to have a progress report for each milestone, similar to this:

https://trac.openads.org/roadmap

TagsNo tags attached.

Relationships

duplicate of 0004711 closedvboctor Create roadmap from feature requests in versions 

Activities

dma

dma

2005-12-23 09:10

reporter   ~0011841

As a possible implementation of this feature, the status percentage legend
on the "My View" page could be generalized and reused:

If the signature of html_status_percentage_legend() would be changed to
function html_status_percentage_legend( $p_specific_condition='true') {

...and the query inside the function would be changed to...

    $query = "SELECT status, COUNT(*) AS number
            FROM $t_mantis_bug_table
            WHERE $t_specific_where
            AND $p_specific_condition
            GROUP BY status";

...then a condition that selects only particular bugs could be passed in
as a parameter, and the function would return the corresponding progress bar.

For example, a progress bar for the category "feature"
could then be generated with:

    echo '<tr>';
    echo '<td colspan="2">';
    html_status_percentage_legend( "category='feature'" );
    echo '</td>';
    echo '</tr>';

It would be easy to loop over the values of a field and generate
one progress bar per value.
For custom fields, the parameter to html_status_percentage_legend
would be a subquery:

html_status_percentage_legend( "id in (select bug_id
from mantis_custom_field_string_table
where field_id=...
and value like '...')" );

giallu

giallu

2008-01-10 18:56

reporter   ~0016631

This feature was already implemented in 1.1.0a2.