Skip to content

Instantly share code, notes, and snippets.

@bradvogel
Created March 19, 2020 13:56
Show Gist options
  • Save bradvogel/614ccd917262e1b50c683a0ebaae8526 to your computer and use it in GitHub Desktop.
Save bradvogel/614ccd917262e1b50c683a0ebaae8526 to your computer and use it in GitHub Desktop.
Browser bookmark to open a jira in a new tab
javascript:let dest=prompt("Issue ID?");if (dest) window.open("https://[subdomain].atlassian.net/browse/" + dest, '_blank');
// or
javascript:const tab = window.open('about:blank', '_blank');tab.document.write("<script>window.location.href=`https://[subdomain].atlassian.net/browse/${window.prompt('number')}`</script>");tab.document.close();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment