Skip to content

Instantly share code, notes, and snippets.

@iaindooley
Created January 29, 2021 02:42
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/91d33fd70f2d2d1aeffe3255f9531502 to your computer and use it in GitHub Desktop.
Save iaindooley/91d33fd70f2d2d1aeffe3255f9531502 to your computer and use it in GitHub Desktop.
Create cards from comments
var cardlink = "";//SET THIS TO THE LINK FROM THE "SHARE" BUTTON ON THE ORIGINAL CARD
var target_list = Board.findOrCreate("My Project Board").findOrCreateList("New Tasks");
new Card({link: cardlink})
.comments()
.each(function(cmt)
{
Card.create(target_list,cmt.text(),"top");
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment