Created
March 24, 2020 10:44
-
-
Save iaindooley/c321541dae5fb58f3f82f9a57c41e9f3 to your computer and use it in GitHub Desktop.
Create linked card
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 createLinkedCard(notification) | |
{ | |
var added = new Notification(notification).addedLabel().name(); | |
var target = new Trellinator().board(added.name()).list(/Inbox.*/i); | |
var copy = added.card().copyToList(target,"top"); | |
copy.attachLink(added.card().link()); | |
added.card().attachLink(copy.link()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment