Created
March 20, 2019 00:05
-
-
Save iaindooley/0feda1d3cf87a028bc58b7e21d738a32 to your computer and use it in GitHub Desktop.
Ready to assemble
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 readyToAssemble(notification) | |
{ | |
var card = new Notification(notification).movedCard("Done"); | |
var master = card.cardsLinkedInAttachments().first(); | |
if(master | |
.checkItemByName(card.link()) | |
.checklist("Parts") | |
.isComplete()) | |
{ | |
master.addLabel("Ready to Assemble"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment