PR Status

Show Github PR Review Approval status in the cards on a Jira board

什麼是PR Status?

PR Status是由rehanahmad開發的Chrome擴展程式,該擴展的主要功能是“Show Github PR Review Approval status in the cards on a Jira board”。

擴展截圖

screenshot
screenshot
screenshot
screenshot
screenshot

下載PR Status擴展crx文件

下載PR Status擴展crx格式的文件,手動將Chrome擴充功能安裝到瀏覽器中,也可以將crx文件分享給朋友,輕鬆安裝Chrome擴充功能。

擴展使用說明

                        A chrome extension to show the Github PR Review statuses in the cards on a JIRA board.

- 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                    

擴展基本資訊

名稱 PR Status PR Status
ID flfdeojdcmafkipiacfmdgnijodanedb
官方網址 https://chromewebstore.google.com/detail/pr-status/flfdeojdcmafkipiacfmdgnijodanedb
簡介 Show Github PR Review Approval status in the cards on a Jira board
檔案大小 136 KB
安裝次數 171
目前版本 1.0.16
更新時間 2021-09-04
上架時間 2020-10-14
評分 4.50/5 共 4 次評分
開發者 rehanahmad
電子郵箱 [email protected]
付費類型 free
支援的語言 en-GB
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\/*"
    ]
}