Skip to content

Instantly share code, notes, and snippets.

@iaindooley
Created October 10, 2021 02:34
Show Gist options
  • Save iaindooley/60f403c427b76eca139bffeae78e38b8 to your computer and use it in GitHub Desktop.
Save iaindooley/60f403c427b76eca139bffeae78e38b8 to your computer and use it in GitHub Desktop.
moveLinkedCards
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