Managing code reviews

You can create code reviews, add files to reviews, start the review process, open reviews, report on reviews, and delete reviews from the Code Reviews window.

Administrators can configure code review settings for individual repositories to require or prevent users from adding files to reviews when adding or checking in files. See Configuring code review settings.

1. Choose View > Code Reviews.

The Code Reviews window opens.

2. Select the Mainline branch that contains the reviews to work with.

3. Select a Filter to limit the reviews displayed.

You can view reviews requiring your action, unapproved reviews you are an author for, unapproved reviews you are a reviewer for, all unapproved reviews, all approved reviews, or all approved and unapproved reviews. All reviews on the mainline branch that match the criteria are displayed. To search for a review, select <Advanced find>. See Searching for code reviews.

4. Click Create Review to add a new review. See Creating code reviews.

5. Click Add Files to select files by changelist, label, or Helix ALM item to add to the review. See Selecting related files to add to code reviews.

You can also add files to reviews from the Source Tree window and when performing file actions. See Adding files to code reviews.

6. Select a review and click Open Code Review to open it. See Opening code reviews.

7. Select a review and click Start Code Review to notify reviewers that files are ready for review. See Starting code reviews.

8. To report on reviews, select a Report on Code Reviews option and click Report On. See Running code review reports.

9. Select a file or review and click Delete to remove the file from the review or delete the review. See Removing files from code reviews and Deleting code reviews.

You can revert reviews to the Work in Progress status if no reviewers have reviewed any files. Open the review, clear all the reviewers, and click Apply. Authors are automatically notified that the review is terminated.