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/636dcc0e756df11f2ddae3a784960a0b to your computer and use it in GitHub Desktop.
Save iaindooley/636dcc0e756df11f2ddae3a784960a0b to your computer and use it in GitHub Desktop.
Close lots of boards
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