Details
-
Suggestion
-
Resolution: Fixed
-
None
-
None
Description
As a user, I want to only select reviews for a specific time span via REST.
This is currently not possible using REST, however the underlying code supports it.
What is to do:
- add 2 new query parameters to the /filter/details REST API
- fromDate, toDate - both long millis since epoch
- add a fromDate/toDate to the ReviewFilterDef
- Pass these values to the CrucibleReviewQueryBuilder in getReviewIdsAsRolesInStates, if these values are set
Then only reviews between those dates will be returned.
Leaving off a toDate will search all reviews up to now.
Leaving off a fromDate will search all reviews up to toDate.
Once this is done, tell mark@atlassian.com so he can update his Crucible Reviews Script to use these parameters.