Skip to content

Instantly share code, notes, and snippets.

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/1546fa0eef1d17ae141a082126934a36 to your computer and use it in GitHub Desktop.
Save iaindooley/1546fa0eef1d17ae141a082126934a36 to your computer and use it in GitHub Desktop.
appendKeyValuePairsToDescription
var archived = new Notification(notification).archivedCard();
var append = [];
archived.board().customFields().each(function(cf)
{
append.push(cf.name()+": "+archived.customFieldValue(cf.name()));
});
archived.setDescription(
archived.description()+"\n____\n"+append.join("\n")
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment