[JIRAALIGN-1615] API 2.0: Some Endpoints are not accepting ordering by date fields

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 10.75
    • Affects Version/s: 10.72
    • Component/s: REST API
    • 1
    • Severity 3 - Minor
    • Breakers - TART1
    • None

      Issue Summary

      API 2.0: Some Endpoints are not accepting ordering by date fields

      Steps to Reproduce

      1. Run GET like {Instance}/rest/align/api/2/epics?$select=lastUpdatedDate%2Ctitle%2Cid&$orderBy=lastUpdatedDate

      or 

      {Instance}

      /rest/align/api/2/capabilities?$select=lastModifiedDate%2Ctitle%2Cid&$orderBy=lastModifiedDate%20desc

      Response: 400 Bad Request

      Expected Results

      The request is successfully run and return results ordered by lastupdateddate/lastmodifieddate

      Actual Results

      Response: 400 Bad Request

      Workaround

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

            Assignee:
            Roman Petrunyak (Inactive)
            Reporter:
            Roman Petrunyak (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: