Created
October 10, 2021 02:34
-
-
Save iaindooley/60f403c427b76eca139bffeae78e38b8 to your computer and use it in GitHub Desktop.
moveLinkedCards
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 notif = new Notification(notification); | |
var moved = notif.movedCard(); | |
if(!notif.member().notTrellinator())//ignore moves made by the bot | |
throw new InvalidActionException("Don't loop!"); | |
moved.cardsLinkedInAttachments().each(function(card) | |
{ | |
card.moveToList(moved.currentList(),"bottom"); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment