Search cards on a board using custom field as input
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 searchCardsOnBoardsUsingCustomFieldAsInput(notification) | |
{ | |
var field = new Notification(notification).changedCustomField("Query"); | |
TrelloApi.searchCardsInBoards(new Trellinator().boards(),"is:open "+field.value()).each(function(card) | |
{ | |
field.card().addChecklist("Results",function(list) | |
{ | |
list.addUniqueItem(card.link()); | |
}); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment