Skip to content

Instantly share code, notes, and snippets.

@iaindooley
Last active December 14, 2020 05:01
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/d5c8e929962a6f637102c85d472b0022 to your computer and use it in GitHub Desktop.
Save iaindooley/d5c8e929962a6f637102c85d472b0022 to your computer and use it in GitHub Desktop.
Update all checklists
function updateAllChecklists(notification)
{
var added = new Notification(notification).addedChecklistItem();
var tolist = added.checklist().name();
Trellinator.boardsInGlobalCommandGroup("Projects").each(function(board)
{
board.cards().each(function(card)
{
card.checklists(tolist).each(function(cl)
{
cl.addUniqueItem(added.name());
});
});
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment