Created
August 21, 2019 01:37
-
-
Save iaindooley/37321429c2732a7f05dad9c8c988046f to your computer and use it in GitHub Desktop.
Populate spreadsheet from list
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 exportToGoogleSheet() | |
{ | |
var list = new Trellinator().board("My Board").list("My List"); | |
var ss = SpreadsheetApp.getActiveSpreadsheet().insertSheet(list.name()); | |
list.cards().each(function(card) | |
{ | |
ss.appendRow([card.name(),card.description(),card.comments().asArray().join("\n\n")]); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment