Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Move last list to archive
function moveLastListToArchive(notification)
{
var created = new Notifiation(notification).createdCard();
if(created.name() == "Archive Last List")
{
created
.archive()
.board()
.lists()
.last()
.move(new Trellinator().board("Archive"),"top");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment