Uploaded image for project: 'Jira Align'
  1. Jira Align
  2. JIRAALIGN-6938

API 2.0: Inconsistency With Filtering By DateTime

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 11.0.0
    • 10.132.1
    • REST API
    • 2
    • Severity 2 - Major
    • No

      Issue Summary

      API users are unable to confidently rely on the results returned when Filtering by DateTime.
      For an object e.g Feature with lastUpdateDate as "2024-04-24T14:06:51Z", inconsistent results are returned when filtering;

      Time Period Filter Result
      Filtering for Features updated from 1hr back lastUpdatedDate gt 2024-04-24T13:06:51Z The subject Feature is not returned
      Filtering for Features updated from 2hr back lastUpdatedDate gt 2024-04-24T12:06:51Z The subject Feature is returned

      This behaviour is also not consistent across all Jira Align instances.

      Steps to Reproduce

      1. Create a Feature on Jira Align
      2. Use the GET API to query the Feature ID
      3. Note the lastUpdateDate
      4. Run a GET call to filter for Features updated from the lastUpdateDate minus 1 hour
      5. Run a GET call to filter for Features updated from the lastUpdateDate minus 2 hour

      Expected Results

      The created Feature should be returned in both filter queries

      Actual Results

      The filter is only returned for the filter of 2hrs back

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

              fea1a6ef3355 Yannick Genin
              6ec424453bfd Raymond Enechukwu
              Votes:
              3 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: