-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PR Harmony does not work with Script Runner plugin #40
Comments
I'm not able to replicate this using version 4.3.0 or 4.3.2. Can you paste the console output from your browser when you try to open a PR? I suspect there's something weird going on either with another plugin or your environment. |
Hi monotorjbl, your speculation is correct. I disabled another plugin we recently installed called Script Runner from Adaptavist. https://marketplace.atlassian.com/plugins/com.onresolve.stash.groovy.groovyrunner/server/overview Will upload the console output with the Script Runner plugin enabled. If it's not a simple fix or could impact your user base I can open a defect with the vendor.
|
This is a paid plugin, so I'm going to have a hard time debugging this in the future. However, I installed the free trial (I only get 30 days, and I can't re-up as it's bound to my Atlassian account) and it looks like it's entirely on the ScriptRunner side. I set a breakpoint in the Select2 plugin that Atlassian uses to render the users select box and watched for all updates to it. Most of them come from PR Harmony but right after my plugin completes and loads the users, the There's not a link to source code that I've seen, so I made a quick Gist of the client-side Javascript code that's causing the issue: https://gist.github.com/monitorjbl/1e5660860c2fc9e4d1ea4393ef83756f#file-stash-auto-reviewers-js-L38. Anyone can download the trial and see this in their browser for free, so hopefully pasting that bit of Javascript doesn't get me into trouble 😓 |
I've provided Adaptavist your suggestion and code blurb, they've opened a bug on their side for this. https://productsupport.adaptavist.com/browse/SRBITB-113 |
Any update on whether this was fixed? Cannot access the issue at Adaptavist support. |
Hi there's an issue in Bitbucket 4.3.2 where there is added Default Users and Required Users, however when you go to open a pull request the user list shows up briefly before disappearing the reviewers do not get populated at all by default.
The text was updated successfully, but these errors were encountered: