Skip to content

Instantly share code, notes, and snippets.

function deleteNext() {
waitAndClick('#inactive-workflows-module-heading h3', () => {
waitAndClick('[data-operation="delete"]', () => {
waitAndClick('[name="Delete"]');
})
})
document.querySelector('[data-operation="delete"]').click();
document.querySelector('[name="Delete"]').click();
}
@rhodessteve
rhodessteve / README.md
Created May 19, 2021 13:28 — forked from zionyx/README.md
JavaScript to delete all inactive workflows in JIRA

Keybase proof

I hereby claim:

  • I am rhodessteve on github.
  • I am steverhodes (https://keybase.io/steverhodes) on keybase.
  • I have a public key ASBqNtq1e6ouEfyprLoqBikRatce75TXd_XYOwRe_hMGzwo

To claim this, I am signing this object: