Trying to get some data on review completion percentage per reviewer

I am attempting to do this with EyeQL, but I can't quite figure it out.

Basically, I want to know, for a given time period (say, a week), how many reviews each reviewer was involved with, and, of those, how many each reviewer was able to complete.

So, I would see something like:

Reviewer | Reviews Assigned | Reviews Completed

Joe Dev | 10 | 7

Was looking for this through EyeQL, because I am combining it in a spreadhseet with some other data I was able extract.

Is this possible?

3 answers

1 accepted

0 votes
Accepted answer

Went directly to the database, instead.

Hi Evan,

You can use EyeQL to find revisions that are under review, but you can't use it to determine whether or not a particular author has completed a review or not.

You can however get the necessary data out of the REST API. I'd recommend getting a list of reviews for a particular time period using:

/rest-service/reviews-v1/filter?fromDate=<value>&toDate=<value>

Then calling iteratively calling:

/rest-service/reviews-v1/{id}/reviewers

for each returned review to determine which reviewers are assigned to each review and which have completed it (indicated by the <completed>) element.

Check out the REST API guide for more info on using the FishEye and Crucible REST APIs.

cheers,

Tim

It's a little weird that I have to write my own app to see this information.

I am hoping to get read-only access to the DB, directly, to try to generate these reports.

Thank you, though, for pointing this out to me. It has been great to learn, although, it seems a little buggy. Or, at least inconsistent. "fromDate" and "toDate" in the URI I'm playing with don't seem to do anything, although other parameters do. Not sure what's up with that.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Jan 15, 2019 in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

291 views 5 2
Join discussion

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