Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Capture Insights Asset Activity and History

Brandon Roulhac January 6, 2023

We are trying to locate User Assets through the JIRA REST API, and we are not finding the Assets that we want.  Currently, we are using the following API url, but we are not getting User Assets.  We are getting servers and VM’s, but not user assets.  The url we thought we wanted to use was https://magmutual.atlassian.net/rest/assetapi/asset.

 

The asset list we are trying to get to, can be found in the JIRA UI by first navigating here:

asset bar.png

Then by choosing the following:

config.png

This then leads us to a page where we see the following options, with the Computer list being the default.

 

assets.png

 

Our goal is to be able to access the list of assets in the Computer category.  However, we are not able to locate how to do this after hours spent trying different URLs and a lot of time searching documentation and forums. 

Can someone help us access this list of assets through the REST API?

Thank you in advance.

1 answer

0 votes
Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 6, 2023

You are using the wrong API, the one you are using is for external assets and not the one in JSM. The API you are looking for can be found here, Assets. That API is using the workspace ID to know which instance to go to, so your URL would look something like this:

https://api.atlassian.com/jsm/assets/workspace/... 

Nate Hallquist January 13, 2023

Thanks for the info, it was helpful.  I'm just not familiar enough with all this to get it to work.  I was able to use this endpoint and get the WorkspaceID:  https://<JSM Premium Site Name>.atlassian.net/rest/servicedeskapi/assets/workspace

 

Now that I have the WorkspaceID, I want to get all the assets, I think, but I'm struggling to find the right endpoint.  Can you point me to a page where I can find that info?  

Suggest an answer

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

Atlassian Community Events