Created
May 20, 2020 05:23
-
-
Save iaindooley/fd7f5fe9f4bf55ba7c394b181d172f95 to your computer and use it in GitHub Desktop.
Export cards with checklist to spreadsheet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function exportCardsWithChecklistToSpreadsheet() | |
{ | |
var sheet = SpreadsheetApp.getActiveSpreadsheet().getSheets()[0]; | |
new Trellinator().board("My Board").cards().each(function(card) | |
{ | |
sheet.appendRow([card.link(),card.name()]); | |
card.checklists().each(function(cl) | |
{ | |
sheet.appendRow([,,cl.name()]); | |
cl.items().each(function(item) | |
{ | |
sheet.appendRow([,,,item.name()]); | |
}); | |
}); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment