Created
May 11, 2019 19:55
-
-
Save iaindooley/636dcc0e756df11f2ddae3a784960a0b to your computer and use it in GitHub Desktop.
Close lots of boards
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 initialiseBoardOfBoards() | |
{ | |
var list = Board.findOrCreate("Board of Boards") | |
.addMember(new Member({username: "yourusername"})) | |
.findOrCreateList("Inbox"); | |
new Trellinator().boards().each(function(board) | |
{ | |
Card.create(list,board.name()).attachLink(board.link()); | |
}); | |
} | |
function closeBoardFromArchivedCard(notification) | |
{ | |
new Notification().archivedCard().boardsLinkedInAttachments().first().del(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment