Obtaining review data more efficiently

Justin Cheng
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 20, 2015

Hello,

We are having trouble obtaining review data including revision/repository info in an efficient manner. 

Here is our current approach

  1. We use Crucible's ReviewService.getCustomFilterReviews(filter, true) to get a list of ReviewData per crucible project.
  2. We go through this list and call ReviewService.getReviewDetails(reviewData.permaId()) which returns a DetailedReviewData object.  
  3. Populate our own object class from the DetailedReviewData object and return the data.

Our current approach can take a very long time (10+ mins) for some projects to return data.

https://docs.atlassian.com/fisheye-crucible/3.6.3/javadoc/index.html?com/atlassian/crucible/spi/services/ReviewService.html

 

Has anyone come across a similar issue.  Any suggestions to improve? 

Thanks

1 answer

0 votes
Alexander Taler
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 20, 2015

I have encountered similar performance problems with getAllReviews(). I think reporting a bug against Crucible is probably required, please post the bug id here so we can vote for it.

 

Alex

Justin Cheng
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 23, 2015

I have created a bug report https://jira.atlassian.com/browse/CRUC-7507. Hopefully they can look at this soon.

Alexander Taler
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 23, 2015

Great, I went and voted for it. You should probably vote for it too.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events