Last active
August 29, 2015 14:07
-
-
Save jonathanbardo/2fa277c343af6b2837c5 to your computer and use it in GitHub Desktop.
Copy Jira issue
This file contains 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 title = document.title; | |
var endOfIssueKeyIndex = title.indexOf("]"); | |
var issueKey = title.substring("[".length, endOfIssueKeyIndex); | |
window.prompt("Copy to clipboard: CMD+C, Enter", issueKey); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For the bookmarklet: