You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Michael Stack (Jira)" <ji...@apache.org> on 2020/01/15 06:24:00 UTC
[jira] [Updated] (HBASE-23689) Bookmark for github PR to jira
redirection
[ https://issues.apache.org/jira/browse/HBASE-23689?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Stack updated HBASE-23689:
----------------------------------
Component/s: documentation
Release Note: Docs how-to install a useful javascript bookmark that redirects from GitHub pull requests to the corresponding jira work item. Handy.
> Bookmark for github PR to jira redirection
> -------------------------------------------
>
> Key: HBASE-23689
> URL: https://issues.apache.org/jira/browse/HBASE-23689
> Project: HBase
> Issue Type: Sub-task
> Components: documentation, tooling
> Affects Versions: master
> Reporter: Bharath Vissapragada
> Assignee: Bharath Vissapragada
> Priority: Minor
> Fix For: 3.0.0
>
>
> Following is a simple js snippet that redirects from any HBase PR to its corresponding jira. Without this, one has to copy the jira ID from the PR, construct a jira URL manually and paste it in the browser URL bar. Saves a bunch of clicks.
> {code:javascript}
> javascript:location.href='https://issues.apache.org/jira/browse/'document.getElementsByClassName("js-issue-title")[0].innerHTML.match(/HBASE-\d/)[0];{code}
> Particularly helpful for reviewers who'd like to read the jira contents often when reviewing a PR.
> For chrome:
> - Right Click on the bookmarks bar
> - Click on Add page. Fill in the following details:
> Name: HBase jira redirect (or any other that you prefer)
> URL: – {{snippet from above}}--
> - Click Save
> Now you should see "HBase jira redirect" (or any other name you gave) bookmark on the bar.
> Go to any Github PR, click on this button and it redirects to the corresponding jira.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)