Created
January 24, 2019 22:52
-
-
Save iaindooley/6a4bafa75f5539a1cf4d30785a87692a to your computer and use it in GitHub Desktop.
Set custom due
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 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