Last active
March 1, 2021 22:16
-
-
Save iaindooley/8128c5431e2c2adb3a565ec0cc55f76e to your computer and use it in GitHub Desktop.
Copy list to each 7 days
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 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