Created
June 17, 2020 13:07
-
-
Save iaindooley/cd55f01b2a4b21980b3590f895cff834 to your computer and use it in GitHub Desktop.
Move last list to archive
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 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