Weekly report
function weeklyReport(params,signature,original_time) | |
{ | |
var output = []; | |
new Board(params).cards().each(function(card) | |
{ | |
output.push(getCardSizeData(card)+" in list "+card.currentList().name()); | |
}); | |
MailApp.send("user@example.org","Your report",output.join("\n")); | |
ExecutionQueue.push("weeklyReport",params,signature,original_time.addDays(7).at("9:00")); | |
} | |
function getCardSizeData(card) | |
{ | |
//use the pluginData API to fetch what you need | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment