Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Bitbucket repository default reviewers

Aby12345 November 12, 2018

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.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events