Created
May 7, 2019 22:22
-
-
Save maxparm/2e72c753f034f18b049067c154181507 to your computer and use it in GitHub Desktop.
Bookmarklet for Jira to Github 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
javascript:(function(){ | |
var url = location.href; | |
var title = `${document.getElementById('key-val').innerText} ${document.getElementById('summary-val').innerText}`; | |
var description = document.getElementById('description-val').innerText; | |
body = ` | |
### Description | |
[Jira](${location.href}) | |
${description} | |
### Test Plan | |
`; | |
window.open(`https://github.com/7Geese/7Geese/issues/new?assignee=maxparm&label[]=${encodeURIComponent('type-task')}&title=${encodeURIComponent(title)}&body=${encodeURIComponent(body)}`); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment