I am trying to use Script Event Handler.
Event I am using is : Auto add reviewers to pull requests.
I created couple of rule/conditions on using ExamplesChanged files in sensitive directory (pathsMatch('glob:test/src/**')) and added a Mandatory user in each conditions.
Now, whenever a new PR is created, it adds those mandatory reviewers based on the sensitive directoy path condition, But in addition to this, it also adds a dafault user in the PR, if the PR is been rebased.
This is the pattern I am seeing.
Need help, why it is trying to add the "default user", although in my conditions I nowhere describe any rules/conditions to add default users.
Please let us know.
Thanks,
-Saif
Hi Saif,
Do you still need an answer on this one? If so, please could you let us know the code/configuration you are using? (some screenshots/a gist would be useful). Also, can you let us know the versions of Scriptrunner for Bitbucket Server and Bickbucket Server you are using?
Thanks, Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.