Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Adding default reviewers when a specific folder is changed in a repository

I will explain my problem with an example.

We have created a crucible project AA for XX repository and we use AA for all backend and frontend reviews. XX repository contains 2 folders, say "web" and "service".

My question is, when ever a patch is uploaded which contains the changes from "web" folder, few set of people should be added as default set of reviewers to the crucible. Is it possible to do with in crucible? If not, is thr an external plugin available to do this job?

This is how we create crucible:

step 1: select crucible project

step 2: upload the patch

step 3: select reviewers

step 4: done/ start review

I want default set of reviewers to be added when uploaded a patch(which contains changes from web folder) in the step 2.

Please let me know if you need more information.

1 answer

0 votes
Nick Atlassian Team Apr 28, 2014

This functionality currently doesn't exist.

You can watch a specific path in FishEye however, and have an email sent to a group or individual users who could then create a review from the change.

To configure such a watch, as an admin, you can use the Watches Plugin:

You could definitely write a plugin however to do exactly what you want, by listening to the ReviewCreatedEvent, and then responding to that by seeing what paths (even of patch files) are in the review, and adding a certain group of users to the review. You would also want to listen for ReviewUpdatedEvents, for when new files are added to an existing review.

Thanks for the information, Nick.

Is thr any example(sample code) regarding the same use case where I can refer to?



Suggest an answer

Log in or Sign up to answer

Atlassian Community Events