AQL REST API call to Assets results in a Gateway Timeout error 504

XMLWordPrintable

    • 6
    • Severity 3 - Minor
    • 10
    • Warranty

      Issue Summary

      REST API call to Assets results in a Gateway Timeout error 504

      REST API Used: https://developer.atlassian.com/cloud/assets/rest/api-group-object/#api-object-aql-post

      API Endpoint Used : https://api.atlassian.com/jsm/assets/workspace/<workspaceid>/v1/object/aql?startAt=0&maxResults=1000

      This behaviour is observed post migration of Assets.

      Steps to Reproduce

      Execute the below API Endpoint using a API client like POSTMAN

      https://api.atlassian.com/jsm/assets/workspace/<workspaceid>/v1/object/aql?startAt=0&maxResults=1000
      

      Expected Results

      A object result set that can be used to paginate through the result list of objects with response status of 200

      Actual Results

      Results in a gateway timeout error with a status of 504

      Workaround

      Trying with less value for maxResults (ex: 50) parameters works

      https://api.atlassian.com/jsm/assets/workspace/<workspaceid>/v1/object/aql?startAt=0&maxResults=50
      

            Assignee:
            Sacheendra Singh
            Reporter:
            Prabhu Subramaniyan
            Votes:
            5 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated:
              Resolved: