Last active
May 15, 2020 20:20
-
-
Save Xotl/94b8bbd8bc31dba7c3154a36ed45fd64 to your computer and use it in GitHub Desktop.
Get all Trello titles from a particular column
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
const columnTitle = 'Your column title here' | |
jQuery( | |
jQuery('div.js-list.list-wrapper').toArray().find( | |
(node) => jQuery(node).find(`textarea.list-header-name.mod-list-name.js-list-name-input:contains('${columnTitle}')`).length > 0 | |
) | |
).find('.list-card-title.js-card-name').map(function() { | |
return this.innerText | |
}).toArray().join('\n') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment