Can somebody help me with the appropriate API call to get attributes from an asset using the AQL?
I have a simple GET (below) that works exactly as expected:
https://api.atlassian.com/jsm/assets/workspace/[workspace-id]/v1/object/544534
However, when I try to change to a POST for the objects aql as documented here I get "Something went wrong. Contact Administrator". When I try the same as a GET I get "NotFoundInsightException: Could not find Object with key: aql"
https://api.atlassian.com/jsm/assets/workspace/[worskapce-id]/v1/object/aql?objectType=Users&"E-mail Address"=[email]
Hi @Mathew Lederman ,
I used this POST API call:
https://api.atlassian.com/ex/jira/<cloudID>/jsm/assets/workspace/<workspaceID>/v1/object/aqlJSON payload (body) is:
{
"qlQuery": "objectTypeId = 12345 AND \"Name\" = \"AssetNameXYZ\"",
"includeAttributes": true
}
This returned all matching assets with all attributes and their definitions.
@Peter Miklian what is "ex' and "jira' in your call? Can you share documentation behind this call?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.