Skip to content

Instantly share code, notes, and snippets.

@iaindooley
Created January 24, 2019 22:52
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/6a4bafa75f5539a1cf4d30785a87692a to your computer and use it in GitHub Desktop.
Save iaindooley/6a4bafa75f5539a1cf4d30785a87692a to your computer and use it in GitHub Desktop.
Set custom due
function setCustomDue(notification)
{
var card = new Notification(notification).addedDueDate();
card.setCustomFieldValue("Start",card.due().minusWeeks(1));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment