This API provides the total count of objects that match a specified AQL query. Please note that this operation may incur performance latency.

post/object/aql/totalcount

Request

  • Base URL
    https://api.atlassian.com/ex/jira/{cloudId}/jsm/assets/workspace/workspaceId/v1
  • URL
    https://api.atlassian.com/ex/jira/{cloudId}/jsm/assets/workspace/workspaceId/v1/object/aql/totalcount
  • Auth
    • OAuth 2
      Authorization code: https://auth.atlassian.com/authorize
      Token URL: https://auth.atlassian.com/oauth/token scopes: read:cmdb-object:jira
    • or HTTP bearer

Request body

qlQuerystring required

The AQL that will filter the objects.

Response

An integer representing the total count for a given AQL

totalCountinteger

The total number of objects which match the provided query.

Changes

No recorded changes to this operation across all 2 revisions of this API.