Created
May 21, 2021 01:04
-
-
Save iaindooley/466635b380564a34347596b5d618f788 to your computer and use it in GitHub Desktop.
Add sticker names as labels
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
var board_name = "YOUR BOARD NAME";//update this to the name of your board | |
/// DO NOT EDIT BELOW THIS LINE /// | |
new Trellinator().board(board_name).lists().each(function(list) | |
{ | |
list.cards().each(function(card) | |
{ | |
new IterableCollection(TrelloApi.get("cards/"+card.id()+"/stickers")).each(function(sticker) | |
{ | |
card.addLabel(sticker.image); | |
}); | |
}) | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment