https://github.com/michalbe/gh-jira
:link: link Github Issues/PRs to Jira tickets
https://github.com/michalbe/gh-jira
extension github google-chrome jira jira-tickets mozilla-firefox
Last synced: about 2 months ago
JSON representation
:link: link Github Issues/PRs to Jira tickets
- Host: GitHub
- URL: https://github.com/michalbe/gh-jira
- Owner: michalbe
- Created: 2017-09-11T16:35:59.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-11T20:51:54.000Z (almost 9 years ago)
- Last Synced: 2025-06-12T07:48:36.912Z (about 1 year ago)
- Topics: extension, github, google-chrome, jira, jira-tickets, mozilla-firefox
- Language: JavaScript
- Homepage:
- Size: 1.89 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GH -> Jira
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.

## Instalation
- Clone/download this repo
## Configuration
- Put proper Jira ticket labels and Jira url in `script.js:CONFIG`:
- If your tickets use `MY_COMPANY-2023` notation, and your Jira instance runs on `http://my_company.atlassian.net`, then the `CONFIG` const should look like this:
```js
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.json` file under `content_scripts::matches`
### Google Chrome
- Go to `chrome://extensions/`
- Click `Load unpacked exptension`
- Choose the folder where `gh-jira` was downloaded
- Go to your pull request page (usually something like `https://github.com/your_name/your_remo/pulls`) and refresh

### Mozilla Firefox
- Go to `about:debugging` page
- Click `Load Temporary Add-on`
- Choose the `manifest.json` file 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)
