Greasy Fork 还支持 简体中文。

Jira: Pull Request Link Improver

Adds more convenient pull request links to Jira tickets.

Version vom 09.01.2023. Aktuellste Version

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Autor
andrybak
Bewertungen
0 0 0
Version
7
Erstellt am
16.12.2022
Letzte Aktualisierung
09.01.2023
Größe
4,62 KB
Lizenz
MIT
Wird angewandt auf

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