Not possible to access Moderator or Author Time Spent data from REST or Java Plugin APIs

I'm developing a Crucible plugin to generate reports using the Crucible Java Plugin APIs.

One limitation I'm noticing is that it doesn't seem to be possible to get the Time Spent fields from either the REST or Java APIs for the Author or Moderator of a review. I can get the Time Spent for reviewers by calling ReviewerData.getTimeSpent.

I tried calling DetailedReviewData.getAuthor() and casting the UserData to a ReviewerData but the cast fails. Similarly calling DetailedReviewData.getModerator() and casting to a ReviewerData fails.

Is there a way to get Time Spent for the author or moderator that I'm missing in the plugin APIs?

3 answers

1 vote
Tom Davies Atlassian Team Jul 02, 2012

The API doesn't supply this information at present. I've raised this issue: https://jira.atlassian.com/browse/CRUC-6164 to add that data to the API.

Please watch that issue to be informed when it has been implemented.

It has been 2 years since the issue was raised, but it doesn't seem to be resolved yet. Is this in the development path of Crucible API anytime soon?

Was there ever a resolution to this issue?  

What is the latest status?  Is there a forecast for resolution?

Thanks!

 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 8 hours ago in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

55 views 0 1
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