API 2.0: Inconsistency With Filtering By DateTime

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 11.0.0
    • Affects Version/s: 10.132.1
    • Component/s: REST API

      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

            Assignee:
            Yannick Genin
            Reporter:
            Raymond Enechukwu (Inactive)
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: