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 Pellow 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
Community showcase
Published Thursday in Jira

Updates to give you visibility into what's coming in Jira Server and Data Center

Hello, Community! My name is Gosia and I'm a Product Manager on Jira Server and Data Center here at Atlassian. Since 2002 when we launched our public issue tracker, jira.atlass...

312 views 1 12
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you