5.7.123. Bugzilla::Extension::AgileTools::Burn

5.7.123.1. NAME

Bugzilla::Extension::AgileTools::Burn - Burndown chart generation

5.7.123.2. SYNOPSIS

use Bugzilla::Extension::AgileTools:Burn

my $data = get_burndata([1,2,3,4], '2012-10-01', '2012-10-31');

5.7.123.3. DESCRIPTION

AgileTools extension burnup/down data generation functions.

5.7.123.4. FUNCTIONS

get_burndata($bugs, $from, $to)

Description: Get burndown related data
Params:      $bugs - List of bug IDs
             $from - start date 'YYYY-MM-DD'
             $to - end date 'YYYY-MM-DD'
Returns:    Hash containing:
    remaining  => Array of remaining time history
    actual     => Array of actual work time history
    open_items => Array of open item history
    start      => Start time stamp
    end        => End time stamp
    max_items  => Maximum number of open items
    max_work   => Maximum of remaining/actual work
    now        => Current timestamp

Return data is formated so that it can be directly encoded to JSON and used
with the FLOT javascript library.

This documentation undoubtedly has bugs; if you find some, please file them here.