Returns a new BreakdownSet that combines the Breakdown metadata from two or more BreakdownSets. If two Breakdowns have same name their values are merged into the sum of both, otherwise the individual named Breakdowns are combined into a single set.

var opened = metrics.get('Issues Opened');
var closed = metrics.get('Issues Closed');

var burndown = opened.latest(0) - closed.latest(0);
var openedMeta = opened.breakdown().prefixWith('Opened ');
var closedMeta = closed.breakdown().prefixWith('Closed ');

var breakdown = openMeta.merge(closedMeta);

return {
   value : burndown,
   breakdown : breakdown
Did this answer your question?