shows the objectCount as 0 when invoking the Get objecttype API in Jira Cloud Assets

XMLWordPrintable

    • 1
    • Severity 3 - Minor

      Issue Summary

      It returns the objectCount as 0 when invoking the Get objecttype API in Jira Cloud Assets

      API documentation: https://developer.atlassian.com/cloud/assets/rest/api-group-objecttype/#api-objecttype-id-get

      Steps to Reproduce

      1. Invoke the API call.
        1. https://api.atlassian.com/jsm/assets/workspace/b979bc96-0e3d-4506-98df-726ab0bek9d0/v1/objecttype/19 

      Expected Results

      It should show the correct object count in the object type.

      Actual Results

      Object count shows as zero.

      ...
      

      Workaround

      can use: https://developer.atlassian.com/cloud/assets/rest/api-group-object/#api-object-aql-totalcount-postWith the qlQuery only specifying the objectType = "<OT Name>"

            Assignee:
            Bhupender Singh
            Reporter:
            Kalpa Pushpakumara (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: