Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iaindooley/41455f7f32582bcd0267e33bca1b0837 to your computer and use it in GitHub Desktop.
Save iaindooley/41455f7f32582bcd0267e33bca1b0837 to your computer and use it in GitHub Desktop.
Move card prior to due date
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