Created
April 23, 2015 13:21
-
-
Save martinnormark/7f772fda77d117636522 to your computer and use it in GitHub Desktop.
Grab list of Github issues currently selected
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 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")); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Copy to DevTools console after selecting (checkbox) list of Github issues, and a list with title and issue number (#123) will be generated.