Created
May 26, 2021 00:43
-
-
Save iaindooley/1546fa0eef1d17ae141a082126934a36 to your computer and use it in GitHub Desktop.
appendKeyValuePairsToDescription
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
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