"Query" and "exclude" to filter available object types for this API call returns empty response or does not filter correctly

XMLWordPrintable

    • Severity 3 - Minor

      Issue Summary

      The API endpoint Get objectschema id objecttypes flat the query parameter query returns an empty result and exclude does not filter result correctly.

      Steps to Reproduce

      Make the request as below including query parameters like Query and exclude

      curl --request GET \
        --url 'https://api.atlassian.com/jsm/assets/workspace/********-****-****-beea-32360850c8a5/v1/objectschema/3/objecttypes/flat?query=Employees&exclued=Department' \
        --header 'Authorization: Bearer <access_token>' \
        --header 'Accept: application/json’

      Expected Results

      The expected result is that Assets will return all object types matching the filter in the query string

      Actual Results

      The expected result is that Assets will return all object types matching the filter in the query string

      Workaround

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

            Assignee:
            Unassigned
            Reporter:
            Ramchandra Kudtarkar
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: