Show Github PR Review Approval status in the cards on a Jira board
PR Status Extension
- For every PR associated with the JIRA ticket It adds a line of info:
- PR Status (Branch|Draft|Open|Merged|Closed)
- Name of the repo
- Latest update of the reviews from each reviewer
- The PR Status icons (Open or Merged) can be clicked to open the PR in Github.
- Status is automatically updated but can be manually refreshed by clicking on the extension icon (or by reloading the page).
LIMITATION AND REQUIREMENTS
- Currently works only with Classic JIRA boards (next-gen not supported yet).
- Github official integration should already be configured in your JIRA account.
MOTIVATION
During a daily stand up session it is essential to know the latest status of the associated Github PRs and how many reviews approvals these have. However default Github integration of JIRA does not allow this information to be shown easily. With this extension you can quickly view which tickets have their pull requests been reviewed and approved. Having this information right on the ticket should make your stand up session more productive.
SETUP
To configure the extension please provide your Github token in the Options page. Github personal access token can be generated from https://github.com/settings/tokens. This token should have at least have 'repo' scopes.
Once entered, press the Check button to validate the token. It should show the result of validation below the token input area. Kindly ensure the token has access to all the repos that you expect. In particular if SSO has been enabled on your Github org account the token should be explicitly Authorized for access to the org repos via SSO.
JIRA COLUMNS
This extension automatically picks up all the JIRA issues found in the *middle columns* of any board to be populated with the PR Review statuses.
Middle columns are all the columns other than the first and the last column. No manual configuration of columns is needed. The reason for this choice is to allows the extension to work on any board. The first and last columns are usually something like TODO and DONE columns which are unlikely to contain any interesting PRs associated with them.
In future it may allow more fine tuning / customisation to restrict columns that should be updated.
LATEST UPDATES:
*v1.0.16
- Support new jira url pattern
*v1.0.12
- workarounds for bad jira reported statuses
*v1.0.8
- bug fix for more than 30 reviews per pr
*v1.0.7
- bug fixes #20, #21
*v1.0.5
- bug fixes
*v1.0.4
- refresh on jira board refresh now button
- enabled on jira.com
* v1.0.3
- bug Fixes
* v1.0.0
- add support for DISMISSED review status
- support draft status (fixes #11)
- support for branch status
- fix overlap of review status icons over repo name
- use svg icons
* v0.3.0
- Refactored to be compatible with firefox
- Show updated count as badge on icon
- Refresh on tab activated
- Optimised permissions
- Bug fixes
Source Manifest.json
"update_url": "https://clients2.google.com/service/update2/crx",
"name":"PR Status",
"description":"Show Github PR Review Approval status in the cards on a Jira board",
"version":"1.0.16",
"background":{"scripts":["background.js"],
"persistent":false},
"browser_action":{"default_icon":"icons/icon-active.png",
"default_title":"PR Status"},
"content_scripts":[{"matches":["https://*.atlassian.net/secure/RapidBoard.jspa?*",
"https://*.atlassian.net/jira/software/*",
"https://*.jira.com/secure/RapidBoard.jspa?*"],
"js":["contentscript.js"],
"css":["contentstyle.css"]}],
"icons":{"128":"icons/icon-active.png",
"640":"icons/logo-640.png"},
"options_ui":{"page":"options/index.html",
"open_in_tab":true},
"web_accessible_resources":["icons/icon-active.png",
"icons/icon-inactive.png",
"icons/icon-local.png",
"icons/logo-640.png"],
"manifest_version":2,
"permissions":["activeTab",
"https://*.atlassian.net/*",
"https://*.jira.com/*"]}
How to download and manually install PR Status extension for Chrome
Looking for a way to install PR Status extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.
However, you may need to install PR Status extensions manually, this article outlines two simple methods to effortlessly install PR Status extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.
Method 1: Download PR Status extension and manually install through Drag &Drop
If you ever need to manually install a PR Status extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.
Step 1: Download the PR Status Extension by clicking the "Download CRX" button on the website.
Look for the PR Status extension you wish to install. Go to the website and download the PR Status extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for PR Status extension that contains all the data.
Step 2: Extract &Arrange Files
Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.
Step 3: Go to the Chrome Extensions Page
Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.
Step 4: Drag and Drop the Extension
Now, go to the folder where you extracted the PR Status extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.
Step 5: Complete the Installation
Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.
Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.
Method 2: Download PR Status extension for Chrome and install in Developer Mode
This is another method to install PR Status extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.
Step 1: Download the PR Status extension file
Select and download the PR Status extension by clicking the 'Download CRX' button on the website.
Step 2: Extract the downloaded contents
Convert the file to a ZIP file if it is in CRX format then extract the PR Status extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your PR Status extension running.
Step 3: Open Chrome Extension Setting Page
In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.
Step 4: Enable Developer Mode
After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.
Step 5: Load the Unpacked Extension
Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."
Step 6: Select the Extension Folder
Once the pop-up opens upon clicking Load unpacked, select the PR Status extension directory and click on the "Select Folder "button.
Step 7: Confirm and Install
After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.
Conclusion
Here we've made a step-by-step guide on How to manually install PR Status extension in 2 ways. We hope this guide proves helpful.
Similar Extensions
JIRA Issue Highlighting 146 1 ★ 36.65KiB
Cards & Colors 146 4 ★ 525KiB
GitHub Jira Integration 146 6 ★ 96.29KiB
Better Jira 146 20 ★ 139KiB
Github Turbo PR 146 0 ★ 37.62KiB
github-issue-utils 146 1 ★ 122KiB
Mighty GitHub PRs 146 3 ★ 39.5KiB
JIRA Story Points Helper 146 3 ★ 116KiB
Jira Improved 146 9 ★ 99.65KiB
Jira Swimlane Shuffler 146 5 ★ 11.39KiB
Github Labels for JIRA Sprints 146 4 ★ 57.55KiB
GitHub Projects Plus 146 1 ★ 76.63KiB
Github Enhanced Project Board 146 1 ★ 82.66KiB
Links for GitHub & Jira 146 0 ★ 311KiB
JIRA Color Cards 146 1 ★ 145KiB
HubLighter - GitHub Code Highlighter 146 2 ★ 58.39KiB
Clean Jira 146 7 ★ 5.75KiB
Jira HotLinker 146 18 ★ 674KiB
JIRA Template Injector 146 34 ★ 510KiB
Jira Thumbnail 146 3 ★ 26.44KiB
Better Pull Request for GitHub 146 211 ★ 405KiB
jHelper / Jira Helper 146 4 ★ 1.15MiB
Octotree Theme 146 3 ★ 936KiB
Github Saved Filters 146 15 ★ 2.07MiB
User reviews
Oleg Loewen (ID: 00000088752646b6) Voted 3 ★ - Updated 04/08/2021
Catalina Oyaneder (ID: 00000031550b3b5d) Voted 5 ★ - Updated 12/21/2020
Carrie Beesley (ID: 0000006c73ea82c2) Voted 5 ★ - Updated 12/10/2020
Konstantinos Leimonis (ID: 00000064c5f4367d) Voted 5 ★ - Updated 10/16/2020