Skip to content

Instantly share code, notes, and snippets.

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/9c74f91cb59c4d42ce54ed792dddd184 to your computer and use it in GitHub Desktop.
Save iaindooley/9c74f91cb59c4d42ce54ed792dddd184 to your computer and use it in GitHub Desktop.
Set attachment name
function setAttachmentName(params,signature,original_time)
{
var list = new Board(params).findOrCreateList("To Create");
Card.create(list,"My Recurring Card")
.attachLink({name: "Link 1",url: "http://whawtever.com")
.attachLink({name: "Link 2",url: "http://whawtever.com")
.attachLink({name: "Link 3",url: "http://whawtever.com");
ExecutionQueue.push("setAttachmentName",params,signature,original_time.addDays(1).at("9:00"));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment