Intercepting build status and setting state of approval for a reviewer

I am trying to develop a java plugin for BitBucket that will run whenever build status is set on a commit (pull request) and based on the result will set a reviewer to a state of my choice.

Kindly please guide me in the right direction as to where to start with those two tasks.

Thank you

1 Like