Created
September 22, 2020 00:06
-
-
Save iaindooley/55b17e34389c8f78ac2cc1e94e70a288 to your computer and use it in GitHub Desktop.
Cards created this week
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 cardsCreatedThisWeek() | |
{ | |
var output = []; | |
new Trellinator().board("Board Name").cards().each(function(card) | |
{ | |
if(card.whenCreated() > Trellinator.now().minusDays(7).at("00:00")) | |
{ | |
output.push(card.name()+" ("+card.link()+") created: "+card.whenCreated().toLocaleString()); | |
} | |
}); | |
MailApp.sendEmail("you@example.org","Card created report since: "+Trellinator.now().minusDays(7),output.join("\n")); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment