Skip to content

Instantly share code, notes, and snippets.

(() => {
const groups = [].slice.apply(document.querySelectorAll('.issueContainer'))
.map((node) => {
return {
link: node.querySelector('.issue-info a').getAttribute('href'),
id: node. querySelector('.issueId').textContent.trim(),
title: node.querySelector('.issue-summary').textContent.trim(),
priority: node.querySelector('[title^="Priority: "]').textContent.trim(),
type: node.querySelector('[title^="Type: "]').textContent.trim(),
};