I'm mapping all the computers in the frontend and need to display who has each computer within the same UI.
Currently, I'm using the navlist
endpoint (/rest/insight/1.0/object/navlist
) to fetch the left sidebar with all the computers. However, to include the ownership information, I also need to make an additional API call for each computer.
Is there a bulk endpoint available for this operation?
Use AQL Query: Construct a query like objectType = "Computer"
to fetch all computer objects.
Endpoint: Send a POST request to:
https://<your-domain>.atlassian.net/rest/servicedeskapi/assets/workspace/<workspaceId>/v1/aql/objects
Request Body:
{
"aql": "objectType = \"Computer\""
}
Response: The API will return all computer objects along with their attributes, including ownership.
Replace placeholders (<your-domain>
and <workspaceId>
) with your Jira details, and ensure proper authentication is configured.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.