Created
April 3, 2020 09:47
-
-
Save iaindooley/1d0f0915820a1a3a92f6e65df316348d to your computer and use it in GitHub Desktop.
Report 2 days past
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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