Skip to content

Instantly share code, notes, and snippets.

@iaindooley
Created December 11, 2019 08:24
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/7f0a0b62c5b79d13036f09e4600f11ac to your computer and use it in GitHub Desktop.
Save iaindooley/7f0a0b62c5b79d13036f09e4600f11ac to your computer and use it in GitHub Desktop.
Label all linked cards
function labelAllLinkedCards()
{
new Trellinator().board("My Board").cards().each(function(card)
{
try
{
card.cardsLinkedInAttachments().first();
card.addLabel("Linked");
}
catch(e)
{
Notification.expectException(InvalidDataException,e);
}
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment