Last active
September 14, 2020 12:55
-
-
Save iaindooley/219df4b476f8d183eb734c718ef88ead to your computer and use it in GitHub Desktop.
Update custom fields
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 updateCustomFields() | |
{ | |
var data = SpreadsheetApp.openByUrl("YOURDOCURLHERE").getSheets()[0].getDataRange().getValues(); | |
for(var i = 0;i < data.length;i++) | |
{ | |
new Card({link: data[i][0]}).setCustomFieldValue("Unique ID",data[i][1]); | |
Utilities.sleep(2000); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment