Create
cancel
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

How to filter out files for review when selecting a Change Set

I would like to know if it is possible to configure Crucible to filter out certain kinds of files, by wildcard file name, when a Change Set is selected for review.

Our projects contain files that get updated, but do not need to be reviewed. Namely, generated code and project files. For example I would like to filter out, *.sln, *.csproj, *.dbml, *.Designer.cs (but not *.cs).

Thanks,

Jim

1 answer

1 accepted

0 votes
Answer accepted

It's a bit other way. First you add the changeset and then remove what is not needed. Refer http://confluence.atlassian.com/display/CRUCIBLE/Selecting+the+Files+for+the+Review#SelectingtheFilesfortheReview-SelectingChangesetsforReview

The section says

Click the checkbox next to a changeset ID to add the entire changeset. Note,

  • You cannot add individual file revisions to a review, although you can remove them once the changeset is added. Click 'Remove all revisions from review' to remove all.

Thanks for the answer. Yes, I knew I could do that, I was just hoping that there was a way of adding a permenant filter up front so that I would not have to go in and remove files from each and every review. Thanks anyway.

Chii Atlassian Team Oct 11, 2012

You can add files to review using the 'search for files' option instead of changeset, then click on the advanced search (see https://img.skitch.com/20121012-dic6ebfc698n1mytgyky8sab81.png and https://img.skitch.com/20121012-ria7736dcafn7kncdmbmn53r2m.png ). You can then specify an eyeQL search for the specific changeset that you wish to review, and add in a filter to filter out all of the revisions that doesn't conform to your policy.

for example, to filter out all the xml and the zip files, use:

select revisions from dir "/" where csid=0c586d07b407c86ea24a5971bc953f24546037eb and (path not like "*.xml" and path not like "*.zip")

doing this will give you a list of revisions for the changeset, and you can then add them easily.

Hey Joe,

So where does that csid come from? And is that select storable in Cruible so it does not need to be typed each time? The list in the original post was just a sample list of things to filter out.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center Apps Program coming soon

G’day Bamboo customers, As we approach GA for Bamboo Data Center , we would like to inform you that the Data Center Apps Program for Bamboo starts this quarter. How long does it take? We are g...

70 views 0 6
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