Skip to content

Instantly share code, notes, and snippets.

@iaindooley
Created September 25, 2020 11:18
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/f9eb194c8925092ed53abbeb40b81235 to your computer and use it in GitHub Desktop.
Save iaindooley/f9eb194c8925092ed53abbeb40b81235 to your computer and use it in GitHub Desktop.
Copy board and advance due dates
var board_name = "Current Board Name";//change this name
var new_name = "New Board Name";//change this name
////////don't change anything below here/////////
new Trellinator().board(board_name).copy(new_name).cards().each(function(card)
{
card
.markDueDateIncomplete()
.setDue(new Date(card.due()).addDays(7));//will leave time the same
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment