Skip to content

Instantly share code, notes, and snippets.

@Xotl
Last active May 15, 2020 20:20
Show Gist options
  • Save Xotl/94b8bbd8bc31dba7c3154a36ed45fd64 to your computer and use it in GitHub Desktop.
Save Xotl/94b8bbd8bc31dba7c3154a36ed45fd64 to your computer and use it in GitHub Desktop.
Get all Trello titles from a particular column
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