dragouf / Stash-Reviewers-Chrome-Extension

This chrome/firefox extension allow to define groups of reviewers in Atlassian Stash/Bitbucket to bulk add them when creating or updating pull request + other features
MIT License
88 stars 34 forks source link

Doesn`t work with BitBucket 6.*? #66

Open ruslanmogilevskiy opened 4 years ago

ruslanmogilevskiy commented 4 years ago

I installed this Chrome extension but when creating a pull request any extension's controls don't show up on the bitbucket page. Also, I don't see the extension's controls on any BB's page. I was needed a group of reviewers functionality Is it work with BB 6.*? Also, Am I right, that I don't need to install this extension in any form on the BitBucket server itself, only install it in a client`s Chrome, set up reviewers groups there (in chrome) and visit BB create pull request page and reviewers groups button must show up on that page near to the reviewers input box, right?

My setup: BB 6.8, up-to-date Chrome (v.79)

ruslanmogilevskiy commented 4 years ago

Seems the BB API changes (lot of modules became unavailable for external usage) is the reason and your plugin doesn't work with BB 6.*+ https://developer.atlassian.com/server/bitbucket/reference/api-changelog/#expected-future-changes

moganarangan commented 4 years ago
Uncaught Error: AMD module bitbucket-plugin/pullrequest-list-modifier must not depend on internal module(s) bitbucket/internal/feature/pull-request/pull-request-table. See the API changelog for details: https://developer.atlassian.com/server/bitbucket/reference/api-changelog/#expected-future-changes
    at g (require-lite.js?_statichash=8883629556ef7fc594c3bd9eebb83fea-CDN%2F-67695216%2F5e5d5d4%2F191%2F7778f81f0137835d6a29c77fe8708f98&locale=en-US:2)
    at define (require-lite.js?_statichash=8883629556ef7fc594c3bd9eebb83fea-CDN%2F-67695216%2F5e5d5d4%2F191%2F7778f81f0137835d6a29c77fe8708f98&locale=en-US:3)
    at stash_page.js:1540
    at stash_page.js:2162

The above error occurs while opening BB page. AMD module bitbucket/internal/bbui/pull-request-list-table/pull-request-list-table is blocked by BB. need find alternate public API for these issues.

wide0s commented 4 years ago

It does not work with BB 7.4.1 as well

stanmarsh2 commented 4 years ago

@ruslanmogilevskiy @moganarangan @wide0s Hi Folks, maybe my workaround may help you. Details are here: https://github.com/dragouf/Stash-Reviewers-Chrome-Extension/issues/65#issuecomment-709371570