Skip to content

Instantly share code, notes, and snippets.

@iaindooley
Last active September 14, 2020 12:55
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/219df4b476f8d183eb734c718ef88ead to your computer and use it in GitHub Desktop.
Save iaindooley/219df4b476f8d183eb734c718ef88ead to your computer and use it in GitHub Desktop.
Update custom fields
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