Created
June 2, 2020 12:51
-
-
Save iaindooley/6c3e0364a60b4c11c4ce5cbdb2ab85fb to your computer and use it in GitHub Desktop.
Mirror and link cards
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 mirrorAndLinkCards(notification) | |
{ | |
var moved = new Notification(notification).movedCard("Doing"); | |
var copy = moved.copyToList(new Trellinator().board("Target").findOrCreateList("Inbox")); | |
moved.attachLink(copy.attachLink(moved.link()).link()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment