Last active
July 9, 2019 10:40
-
-
Save iaindooley/5ead2990b4afd8027adc41d35a266ba4 to your computer and use it in GitHub Desktop.
Move if inactive
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 scheduleMoveOnComment(notification,signature) | |
{ | |
var added = new Notification(notification).addedComment().card(); | |
ExecutionQueue.clear(signature); | |
ExecutionQueue.push("moveInactiveCard",{id: added.id()},signature,Trellinator.now().addDays(5)); | |
} | |
function moveInactiveCard(card) | |
{ | |
new Card(card).moveTo("Hold"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment