XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.0.0-alpha-1
    • documentation, tooling
    • None
    • Reviewed
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: