I am using reviewboard 1.7.7.1
I would like to interface reviewboard with our Trac ticket system, to be able write directly in the trac ticket associated to the review a comment as the user click on the "Ship It" button.
To do it in a generic way, it would be interesting to have a generic hook system that runs user-defined shell script after some event:
for example:
hooks/ship-it $REVIEW_ID $BUGS $USER_NAME $COMMENT
where $REVIEW_ID would be the current reviewboard review number
$BUGS the value of the "Bugs" field
$USER_NAME the name of the user that clicked the "Ship It" button
$COMMENT the text entered in the comment field.
The same mechanism could be applied for other events:
hooks/bugs-list-changed $REVIEW_ID $BUGS
to notify a change in the "Bugs field"
hooks/close-review $REVIEW_ID $REVIEW_OUTCOME $AUTHOR
as a review is closed
where $REVIEW_OUTCOME could be "Subitted" "Discared" "Deleted"
That would allow administrators to implement themself more interactions between reviewboard and external systems.