Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
Level
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Is there a Crucible report showing percentage of SVN checkins that are in at least one review?

We would like to track this metric. Seems like the infomattion should be available, just wondering if anyone has created such a report.

1 answer

A SQL query like this will get you the number of reviewed SVN checkins:

select count(distinct(concat(r.cru_source_name, r.cru_revision))) 
from cru_revision r 
join cru_frx_revision fx on r.cru_revision_id = fx.cru_revision 
join cru_frx x on x.cru_frx_id = fx.cru_frx_id 
where r.cru_commit_date/1000 >= unix_timestamp('1970-01-01') 
and r.cru_source_name = 'foo';

And you can get the total number of checkins from an EyeQL query like this:

select revisions 
where date >= 1970-01-01T00:00:00.00Z 
group by changeset 
return count(revisions)

Change the WHERE clauses to match your requirements, of course.

Do you need the FishEye product to run the EyeQL command?

Yes, you need the Fisheye license.

Hmm. We currently don't have a Fisheye license.

I ran the SQL Query and it does report the number of checkins per repository that have files in a review. That part works well. But without Fisheye I can't complete the computation. I will have to look into the possibility of listing SVN checkins directly from SVN or creating a commit hook that updates a database.

As a workaround, you can create a dummy review which contains all changeset in history. This will bring all changesets into table cru_revision. Those changesets seem to remain in the table even if you delete the dummy review. (I don't know however whether they remain permanently or whether they will be ocassionally cleaned by Crucible).

Suggest an answer

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

⚡️NEW Group for Confluence Cloud Admins

Calling all Confluence Cloud Admins!  We created a new Community Group to support your unique needs as Confluence admins. This is a group where you can ask questions, access resou...

82 views 2 7
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