Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

Recognition

  • Give kudos
  • My kudos

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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 Confluence Cloud

Share your Confluence Cloud experience for a chance to win $500!

Take our 5-minute survey to win a $500 Visa gift card! Are you currently using Confluence Cloud? We want to hear from you! Fill out this quick survey about your Confluence Cloud experience so we ...

293 views 5 14
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