Skip to content

Instantly share code, notes, and snippets.

@iaindooley
Created October 10, 2021 02:34
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/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