Skip to content

Instantly share code, notes, and snippets.

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/096c82740f3769bd29a89633293e40a1 to your computer and use it in GitHub Desktop.
Save iaindooley/096c82740f3769bd29a89633293e40a1 to your computer and use it in GitHub Desktop.
Move archived cards
var bot = new Trellinator();
var target = bot.board("Archive Board");
Trellinator.searchCardsInBoards(
bot.board("From Board"),
"is:archived"
).each(function(card)
{
card.unArchive().moveToList(target.findOrCreateList(card.currentList().name()));
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment