Skip to content

Instantly share code, notes, and snippets.

@martinnormark
Created April 23, 2015 13:21
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 martinnormark/7f772fda77d117636522 to your computer and use it in GitHub Desktop.
Save martinnormark/7f772fda77d117636522 to your computer and use it in GitHub Desktop.
Grab list of Github issues currently selected
var issues = [];
$("input[type=checkbox].js-issues-list-check:checked").each(function() {
var $check = $(this),
$title = $check.parents("li.js-issue-row").find("a.issue-title-link");
issues.push($title.text().replace(/(\r\n|\n|\r)/gm,"").replace(/ /g, "") + " #" + $check.val())
})
window.prompt("Copy to clipboard: Ctrl+C, Enter", issues.join("\r\n"));
@martinnormark
Copy link
Author

Copy to DevTools console after selecting (checkbox) list of Github issues, and a list with title and issue number (#123) will be generated.

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