Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,360,701
Community Members
 
Community Events
168
Community Groups

Extract a list of reviewed (or unreviewed) files

Is it possible to get a list of the files that have been reviewed? We're trying to figure out how to determine our code review coverage. We can get a list of changed files via svn. We'd like to compare that to the files that are contained in one or more reviews.

2 answers

1 vote

I use a EyeQL query to do this. The query essentially checks for all revisions that are not the HEAD revision on a BRANCH that are in the listed set of reviews (REVIEWID_1 & REVIEWID_2).

select revisions from dir "/BRANCH" where not (in review REVIEWID_1 or in review REVIEWID_2) and not is deleted and is head on BRANCH order by date desc  group by changeset return path, revision, author, date, reviews

To get to where you can enter the EyeQL, view your repository under Source. Then select "Search" from the right pane header. Finally select "Switch to EyeQL Search" on the bottom of the left pane.

0 votes
SimonS Rising Star Sep 05, 2012

Hi John,

You can check out the Fisheye Commit Graph, which will show you which changesets have been reviewed, which are currently under review, and which are not reviewed at all:

https://confluence.atlassian.com/display/FISHEYE/Viewing+the+commit+graph+for+a+repository

I don't think the list is extractable per se, and it won't show you "file" review status, but it will tell you about changesets.

-Simon

Suggest an answer

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

Online AMA this week: Your project management questions answered by Jira Design Lead James Rotanson

We know that great teams require amazing project management chops. It's no surprise that great teams who use Jira have strong project managers, effective workflows, and secrets that bring planning ...

197 views 1 6
Read article

Atlassian Community Events