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/466635b380564a34347596b5d618f788 to your computer and use it in GitHub Desktop.
Save iaindooley/466635b380564a34347596b5d618f788 to your computer and use it in GitHub Desktop.
Add sticker names as labels
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