Skip to content

Instantly share code, notes, and snippets.

@iaindooley
Last active November 8, 2019 00:38
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/fde1b426df687dee6a950bc44f57038f to your computer and use it in GitHub Desktop.
Save iaindooley/fde1b426df687dee6a950bc44f57038f to your computer and use it in GitHub Desktop.
Move card based on name
function moveCardBasedOnName(notification)
{
var created = new Notification(notification).createdCard();
if(/.*(Autostart|Config, Ini file|Settings).*/.test(created.name()))
{
creatd.moveToList(Board.findOrCreate("Backlog Windows").findOrCreateList("Windows Configuration"),"top");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment