Skip to content

Instantly share code, notes, and snippets.

@netsi1964
Last active February 10, 2021 13:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save netsi1964/76ddfb32a8161d1a8bc9b3f10f8cbb0a to your computer and use it in GitHub Desktop.
Save netsi1964/76ddfb32a8161d1a8bc9b3f10f8cbb0a to your computer and use it in GitHub Desktop.
Get done tasks from Jira
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'));
@netsi1964
Copy link
Author

netsi1964 commented Feb 10, 2021

Instructions

  1. open developer toolbar while in Jira and
  2. Run the script
  3. You will get a grouped list of taske in the sprint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment