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

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.

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira Service Desk

Wy are we still using email for Service Desk workflows?

...attest to the experience of an urgent approval that gets lost in the boss’s inbox and requires that special “Please Approve” email or text message. In an age where we have distributed teams...

91 views 0 2
Read article

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