Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Copy list to each 7 days
var board_name = "EDIT THIS";//put the name of your board
var list_name = "EDIT THIS";//put the name of the template list
var board = new Trellinator()
.board(board_name);
var template = board
.list(list_name);
var date = Trellinator.now();
for(var i = 0;i < 52;i++)
{
template.copy("bottom").setName(date.butlerDefaultDate()+" - "+new Date(date).addDays(7).butlerDefaultDate());
date.addDays(7);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment