Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Send web request works for object but not for objectType

Steve S_
December 3, 2025

The response is a 200 OK with a payload but the payload is always pointing to the incorrect objectType and schema.  This happens no matter what objectTypeId and schemaId used in the URL.  It always points to the same incorrect schema and objectType.

What's weird is this doesn't happen if I point to an object directly.  I can get single object payload with correct data but not a schema/objectType payload.

Example of the URL format I am using:

https://api.atlassian.com/jsm/assets/workspace/<ID>/v1/aql/objects?query=objectType=<ID>&schemaId=<ID>

Anybody have any ideas?

1 answer

1 accepted

4 votes
Answer accepted
Marc -Devoteam-
Community Champion
December 3, 2025

Hi @Steve S_ 

The endpoint you are referring to is not a Cloud endpoint anymore, this is deprecated since 18/08/2024

You should use: https://api.atlassian.com/jsm/assets/workspace/<ID>/object/aql

See; https://developer.atlassian.com/cloud/assets/rest/api-group-object/#api-object-aql-post 

Steve S_
December 3, 2025

Thanks Marc but that gave me a 404 error.

Also, I got the endpoint from Rovo Chat.

Steve S_
December 3, 2025

You weren't that far off - further down that page it does have a section that provided the answer I needed - so thank you!

 

The final format that worked is:

https://api.atlassian.com/jsm/assets/workspace/<ID>/v1/objecttype/<ID>/attributes

Like Marc -Devoteam- likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events