Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

ScriptRunner for Bitbucket Server/Stash: Auto add reviewers to pull requests unstable behavior

Saifuddin Tariwala January 12, 2016

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

1 answer

0 votes
Thomas Robinson [Adaptavist] February 15, 2016

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events