@ RequestMapping ( value = "/feature/estimates/aggregatedsprints" , method = GET , produces = APPLICATION_JSON_VALUE ) public DataResponse < SprintEstimate > featureAggregatedSprintEstimates ( @ RequestParam ( value = "projectId" , required = true ) String projectId , @ RequestParam ( value = "agileType" , required = false ) Optional < String > agileType , @ RequestParam ( value = "estimateMetricType" , required = false ) Optional < String > estimateMetricType , @ RequestParam ( value = "component" , required = true ) String cId , @ RequestParam ( value = "teamId" , required = true ) String teamId ) { ObjectId componentId = new ObjectId ( cId ) ; return this . featureService . getAggregatedSprintEstimates ( componentId , teamId , projectId , agileType , estimateMetricType ) ; }
REST endpoint for retrieving the current sprint estimates for a team