Created
July 22, 2020 05:31
-
-
Save iaindooley/5c430ca3fcdeb4c9e3696109b25f5bba to your computer and use it in GitHub Desktop.
Just the action to move first card in list with a label
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
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