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/6c4a114369a2e486847f7e9c0cbf75e1 to your computer and use it in GitHub Desktop.
Save iaindooley/6c4a114369a2e486847f7e9c0cbf75e1 to your computer and use it in GitHub Desktop.
See archived cards
function seeArchivedCards()
{
var sheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("Sheet 1");
Trellinator.searchCardsInBoards(new Trellinator().board("My Board"),"is:archived")
.each(function(card)
{
sheet.appendRow([card.link(),card.name(),card.whenCreated(),card.members().find(function(m){return m.name()}).asArray().join(",")]);
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment