1 2 3 4 5 6 7 8 9 10 11 12
function downloadFilesToGoogleDrive() { new Trellinator().board("My Board").cards().each(function(card) { card.attachments().each(function(att) { var file = Trellinator.downloadFileToGoogleDrive(att.link()); card.attachLink(file.getUrl(); att.remove(); }); }); }
You can clone a snippet to your computer for local editing. Learn more.