Last active
May 2, 2020 09:30
-
-
Save iaindooley/1313243b718e0d5e3381062195da99a8 to your computer and use it in GitHub Desktop.
Add comment and checklist
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 addCommentAndChecklist(notification) | |
{ | |
var added = new Notification(notification).addedCard(); | |
var tpl = added.board().list("Templates").cards().first(); | |
tpl.copyUniqueChecklist(added.card().currentList().name(),added.card()); | |
added.card().postComment(tpl.comments().first().text()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment