Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Search cards on a board using custom field as input
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