Created
January 14, 2019 02:54
-
-
Save iaindooley/17e0ec6f3a18a7fadaaee45fb6586ddf to your computer and use it in GitHub Desktop.
Priority level
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 setDueAccordingToPriority(notification) | |
{ | |
var notif = new Notification(notification); | |
var label = notif.addedLabel(); | |
label.card().setDue(Trellinator.now().addDays(parseInt(notif.board().list("Priorities").card(label.name())).description())); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment