Created
August 22, 2020 01:08
-
-
Save iaindooley/30c7ae1bc868748d05c599913513cfe9 to your computer and use it in GitHub Desktop.
Checklist from description
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 checklistFromDescription(notification) | |
{ | |
var created = new Notification(notification).createdCard(); | |
var lines = created.description().split("\n"); | |
created.addChecklist("Checklist",function(cl) | |
{ | |
for(var i = 0;i < lines.length;i++) | |
{ | |
cl.addItem(lines[i]); | |
} | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment