XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: master
    • Fix Version/s: 3.0.0
    • Component/s: documentation, tooling
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Docs how-to install a useful javascript bookmark that redirects from GitHub pull requests to the corresponding jira work item. Handy.

      Description

      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.

      javascript:location.href='https://issues.apache.org/jira/browse/'document.getElementsByClassName("js-issue-title")[0].innerHTML.match(/HBASE-\d/)[0];

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bharathv Bharath Vissapragada
                Reporter:
                bharathv Bharath Vissapragada
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: