Skip to content

Instantly share code, notes, and snippets.

View martindrapeau's full-sized avatar

Martin Drapeau martindrapeau

View GitHub Profile
@martindrapeau
martindrapeau / planbox_burndown_data.js
Created October 13, 2011 15:10
Planbox Burndown Data in Current Iteration
var iteration;
function doWork() {
var burndown = iteration.burndown;
var product_data = burndown.data[0];
var dates = burndown.dates;
console.log('Points remaining in iteration');
for (var i=0; i<dates.length; i++) {
var remain = product_data.points[i];
if (remain != null) {
@martindrapeau
martindrapeau / planbox_time_report.js
Created October 13, 2011 15:04
Planbox Current Iteration Time Report
var stories;
var resources;
function doWork() {
var sums = {};
for (var i=0; i < resources.length; i++) {
var resource = resources[i];
sums[resource.id] = {
name: resource.name,
stories: {},
estimate: 0,