History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-1838
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Justin Georgeson
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

REST call to query build stats directly (without parsing a range of builds)

Created: 07/Nov/13 11:21 PM   Updated: 05/Nov/20 02:40 PM
Component/s: None
Affects Version/s: None
Fix Version/s: 5.1.0-rc4, 5.1.0

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
A REST call to give the build success rate, with an option to qualify the date range. Querying a range of builds of a given state and date range puts a larger strain on system resources of the server than is necessary for getting this metric via REST.

 All   Comments   Work Log   Change History      Sort Order:

Justin Georgeson [20/Nov/13 05:49 PM]
The average_duration and success_rate are working when unqualified. The docs indicate the date range is only supported for the success rate (which is fine). When I add the from_date and to_date to the REST call I just receive back "java.lang.IllegalArgumentException" as the response. I confirmed that there are builds within the date range I supplied.

Maciej M [05/Nov/20 02:40 PM]
Hello robin,

This issue still occurs in QB 10.0.21, 2020-07-08

our query :

<url>/rest/configurations/1/average_duration?from_date=2020-11-01&to_date=2020-11-03