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.
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?
Hello Community, I’m Anton Genkin, a product manager on the Bitbucket Server and Data Center team and am excited to share that Bitbucket Server 7.0 is now available! It's a platform release, one th...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events