Adds convenience links in PRs of Bitbucket v7.6.+
当前为
This user script brings back convenient links to individual commit pages to the pull request's "Diff" tab, which was removed by Atlassian some time before Bitbucket version 7.6. The commit link includes a fancy tooltip, same as commit links on the "Commits" tab. Works for Bitbucket Server, wasn't tested for Bitbucket Cloud.
The script uses https://example.com by default. You have to manually change the URL in the "match" settings to the hostname of the Bitbucket 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.
@match field of the metadataSource code and full history can be seen on GitHub: https://github.com/rybak/atlassian-tweaks/blob/main/bitbucket-pull-request-commit-links.user.js