Last active
September 11, 2020 06:15
-
-
Save iaindooley/7573220968474ed842a9964d36e3ed34 to your computer and use it in GitHub Desktop.
Move card when label added
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 addedLabel_DepNotReq(notification) | |
{ | |
new Notification(notification) | |
//this will throw InvalidActionException if no label added with this name | |
//as part of this action, which is an "expected exception" and Trellinator | |
//won't retry this notification | |
.addedLabel("Deposit not required")//could also use addedLabel(/Deposit not required/i) for case insensitive | |
.card() | |
.postComment("hello") | |
//I often use this style regex with list names: case insensitive "starts with" | |
.moveTo(/Ready to Program.*/i,"top"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment