Created
May 14, 2020 04:09
-
-
Save iaindooley/3de63f494b3cdeda6583c5910f720d8a to your computer and use it in GitHub Desktop.
Add me to no member and overdue cards
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 addMeToNoMemberAndOverdueCards(params,signature,original_time) | |
{ | |
var me = new Member({username: "myusername"}); | |
var all_boards = new Trellinator().boards(); | |
Trellinator.searchCardsInBoards(all_boards,"-has:members is:open").each(function(card) | |
{ | |
card.addMember(me); | |
}); | |
Trellinator.searchCardsInBoards(all_boards,"@me is:open due:overdue").each(function(card) | |
{ | |
card.postComment("@myusername hey yo this is overdue"); | |
}); | |
ExecutionQueue.push("addMeToNoMemberAndOverdueCards",params,signature,original_time.addDays(1).at("7:00")); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment