Uploaded image for project: 'Crucible'
  1. Crucible
  2. CRUC-6410

Allow /filter/details to include a date range filter

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • 3.0.0
    • None
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    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:

      1. add 2 new query parameters to the /filter/details REST API
        1. fromDate, toDate - both long millis since epoch
      2. add a fromDate/toDate to the ReviewFilterDef
      3. 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.

      Attachments

        Activity

          People

            mswinarski Maciej Swinarski (Inactive)
            npellow Nick
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 31m
                31m