Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Community showcase
Published in Apps & Integrations

How we use Jira Service Management for our recruitment process! - Part 2

It is never about setting up a process and being done with it. Rather, the focus should always be on optimizing it for the best outcomes. Thus, we didn’t stop at setting up JSM for our recruitment pr...

187 views 0 5
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you