Skip to content

Instantly share code, notes, and snippets.

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/5c430ca3fcdeb4c9e3696109b25f5bba to your computer and use it in GitHub Desktop.
Save iaindooley/5c430ca3fcdeb4c9e3696109b25f5bba to your computer and use it in GitHub Desktop.
Just the action to move first card in list with a label
var trell = new new Trellinator();
trell.board("Category Board").list("Project List").cards().find(function(card)
{
try
{
card.label("Project Label");
return card;
}
catch(e)
{
Notification.expectException(InvalidDataException,e);
return false;
}
}).first().moveToList(trell.board("Planning Board").list("Incoming Tasks"),"top");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment