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/cd55f01b2a4b21980b3590f895cff834 to your computer and use it in GitHub Desktop.
Save iaindooley/cd55f01b2a4b21980b3590f895cff834 to your computer and use it in GitHub Desktop.
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