Skip to content

Instantly share code, notes, and snippets.

Created January 11, 2020 10:50
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save jpetitcolas/e471d73196627f037d54d343effd5ebe to your computer and use it in GitHub Desktop.
Marking all tickets as completed on an Asana board column
const COLUMN_NAME = "Deployed to Prod"
var column = [...document.querySelectorAll(".BoardBody-column")].filter(
column =>
column.querySelector('.BoardColumnHeader-name') &&
column.querySelector('.BoardColumnHeader-name').textContent == COLUMN_NAME
Array.from(column.querySelectorAll(".BoardCard")).map(card => {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment