Jira: Pull Request Link Improver

Adds more convenient pull request links to Jira tickets.

当前为 2022-12-23 提交的版本,查看 最新版本

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
andrybak
评分
0 0 0
版本
6
创建于
2022-12-16
更新于
2022-12-23
大小
4.6 KB
许可证
MIT
适用于

Jira – better pull request links

Bitbucket integration in Jira is not very convenient. It requires clicking on a link, like "3 pull requests", before actually giving the user access to the actual links to pull requests. This user script adds a panel above "Development" with a list of clickable links to pull requests. Works for Jira Server, wasn't tested for Jira Cloud.

Screenshot of "Jira: Pull Request Link Improver" in action with fake Jira project and Bitbucket PRs

Instructions

The script uses https://example.com by default. You have to manually change the URL in the "match" settings to the hostname of the Jira server or servers that you use. This is due to restrictions on how browser extensions can match against URLs. See documentation of Firefox and Google Chrome for details.

Tampermonkey instructions

  1. Go to Dashboard in the extension menu
  2. Click "Edit" button in the line of the script that you've just installed
  3. Copy the value from @match field of the metadata
  4. Go to the tab "Settings"
  5. Click "Add..." under "User matches"
  6. Paste the copied value
  7. Replace the example domain with the domain of website you use
  8. Click "OK"

Source code

Source code and full history can be seen on GitHub: https://github.com/rybak/atlassian-tweaks/blob/main/jira-pr-links-improver.user.js