Skip to content

Instantly share code, notes, and snippets.

@Max-Makhrov
Forked from niallsmart/copy-checklist.js
Last active June 24, 2020 06: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 Max-Makhrov/bc8fb5ac7402882e4f6a18d96959c450 to your computer and use it in GitHub Desktop.
Save Max-Makhrov/bc8fb5ac7402882e4f6a18d96959c450 to your computer and use it in GitHub Desktop.
Copy Trello checklist to console
$(".checklist-item").map(function(i, item) {
let text = $(item).find(".checklist-item-details-text").text();
if( $(item).hasClass("checklist-item-state-complete") ) {
text += " (DONE)";
}
return text;
}).get().join('\n')
@Max-Makhrov
Copy link
Author

In Chrome,

  1. Open the Trello Card with the checklist,
  2. Select Chrome's More Tools => Developer Tools => Console. [Ctrl]+[Shift]+[I]
  3. Copy and paste this Javascript code in, and press Enter to run.

The checklist items will be in the console.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment