Created
May 17, 2021 22:52
-
-
Save iaindooley/15d82b4344d83d5f64885563f275034d to your computer and use it in GitHub Desktop.
recoverDescriptionForCard
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 added = new Notification(notification).addedLabel(/Recover Description/i); | |
var json = ___request("get","https://trello.com/1/cards/"+added.card().shortId()+"/actions?filter=updateCard:desc"); | |
added.setDescription( | |
json[0].data.old.desc | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment