Skip to content

Instantly share code, notes, and snippets.

@iaindooley
Created December 1, 2018 02:44
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/ca81f385efebcb84cf0dd74522388573 to your computer and use it in GitHub Desktop.
Save iaindooley/ca81f385efebcb84cf0dd74522388573 to your computer and use it in GitHub Desktop.
Record comments in description
function recordComment(notification)
{
var notif = new Notification(notification);
var cmt = notif.addedComment();
cmt.card().label("Record Comments");
cmt.card().setDescription(cmt.card().description()+"\n\n"+notif.member().name()+" on "+Trellinator.now().butlerDefaultDate()+": "+cmt.text());
cmt.del();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment