Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iaindooley/1d0f0915820a1a3a92f6e65df316348d to your computer and use it in GitHub Desktop.
Save iaindooley/1d0f0915820a1a3a92f6e65df316348d to your computer and use it in GitHub Desktop.
Report 2 days past
function report2DaysPast()
{
var out = [];
new Trellinator().board("My Board").cards().each(function(card)
{
if(new Date(card.due()) < Trellinator.now().minusDays(2))
{
out[] = card.name()+": "+card.link();
}
});
MailApp.send("you@example.org","Your report",out.join("\n"));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment