Created
December 11, 2019 08:24
-
-
Save iaindooley/7f0a0b62c5b79d13036f09e4600f11ac to your computer and use it in GitHub Desktop.
Label all linked cards
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 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