This Mozilla Firefox/Google Chrome Add-on changes ticket numbers in PRs' titles to links to proper Jira tickets. I personally find it helpful when reviewing tasks, so I don't need to copy/paste anything.
- Clone/download this repo
- Put proper Jira ticket labels and Jira url in
script.js:CONFIG: - If your tickets use
MY_COMPANY-2023notation, and your Jira instance runs onhttp://my_company.atlassian.net, then theCONFIGconst should look like this:
const CONFIG = {
jira_url: 'https://my_company.atlassian.net/browse/', // <- note the `/browse` part here
ticket_label: 'MY_COMPANY-' // <- note the dash here
}- Add your repo address in the
manifest.jsonfile undercontent_scripts::matches
- Go to
chrome://extensions/ - Click
Load unpacked exptension - Choose the folder where
gh-jirawas downloaded - Go to your pull request page (usually something like
https://github.com/your_name/your_remo/pulls) and refresh
- Go to
about:debuggingpage - Click
Load Temporary Add-on - Choose the
manifest.jsonfile from the downloaded repo - Go to your pull request page (usually something like
https://github.com/your_name/your_remo/pulls) and refresh - Note that this will work only till Firefox will be restarted (what probably doesn't occur often for us developers)


