Skip to content

Instantly share code, notes, and snippets.

@iaindooley
Created October 2, 2019 23:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iaindooley/56dba24e332f4fe785b0f50f6a96fcb7 to your computer and use it in GitHub Desktop.
Save iaindooley/56dba24e332f4fe785b0f50f6a96fcb7 to your computer and use it in GitHub Desktop.
Fetch lists based on label
function fetchListsBasedOnLabel(notification)
{
var label = new Notification(notification).addedLabel();
if(label.card().name() == "Project Configuration")
{
new Trellinator().board(label.name()).lists().each(function(list)
{
list.copy().move(label.card().board(),"bottom");
});
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment