Created
July 8, 2019 07:14
-
-
Save iaindooley/41455f7f32582bcd0267e33bca1b0837 to your computer and use it in GitHub Desktop.
Move card prior to due date
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 scheduleMoveCardPriorToDueDate(notification,signature) | |
{ | |
new Notification(notification).actionOnDueDateAdded("actionMoveCardPriorToDueDate",signature,function(date) | |
{ | |
date.minusDays(60); | |
}); | |
} | |
function actionMoveCardPriorToDueDate(notification) | |
{ | |
new Notification(notification).card().moveTo("List Name"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment