Hello Team,
I am working on improving the process for our project in Bitbucket.
There has been a request to add default reviewers for a pull request. I wanted to know if this can be done for a specific file that is committed.
i.e. if the pull request consist a file e.g. abc.txt, the event handler should check that anytime the PR contains a file like this, these default reviewers should be added.
I am looking at the Script event handlers add on to do this.
used the script : pathsMatch('glob:abc.txt', event.pullRequest.getCommits())
but this doesnt work. Any help is appreciated.