Last active
February 10, 2021 13:40
-
-
Save netsi1964/76ddfb32a8161d1a8bc9b3f10f8cbb0a to your computer and use it in GitHub Desktop.
Get done tasks from Jira
This file contains hidden or 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
var columns = Array.from(document.querySelectorAll('.ghx-column-title')).map( | |
(title) => `${title.textContent}\n${'*'.repeat(title.textContent.length + 5)}` | |
); | |
document.querySelectorAll('.ghx-columns').forEach((col) => { | |
const cols = col.querySelectorAll('.ghx-column'); | |
cols.forEach((col, i) => { | |
col.querySelectorAll('.ghx-issue-fields').forEach((ele) => { | |
const mev = ele.querySelector('.ghx-key').textContent; | |
const txt = ele.querySelector('.ghx-inner').textContent; | |
columns[i] += `\n${mev}: ${txt}`; | |
}); | |
}); | |
}); | |
copy(columns.join('\n\n')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Instructions