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

This widget could not be displayed.

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.

Joe Xie 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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

52 views 1 0
Join discussion

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