Last active
December 14, 2020 05:01
-
-
Save iaindooley/d5c8e929962a6f637102c85d472b0022 to your computer and use it in GitHub Desktop.
Update all checklists
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 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