Skip to content

Instantly share code, notes, and snippets.

@iaindooley
Created August 16, 2020 13:15
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/1913ab63569b4c2356521b9cfb42bbeb to your computer and use it in GitHub Desktop.
Save iaindooley/1913ab63569b4c2356521b9cfb42bbeb to your computer and use it in GitHub Desktop.
Report archived cards
function reportArchivedCards(params,signature,time)
{
var sheet = SpreadsheetApp.getActiveSpreadsheet().getSheets()[0];
TrelloApi.searchCardsInBoards(new Board(params),"is:archived",1000).each(function(card)
{
sheet.appendRow([Trellinator.now(),card.link(),card.name()]);
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment