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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,462,110
Community Members
 
Community Events
176
Community Groups

Capture Insights Asset Activity and History

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 Jan 06, 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/... 

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

Atlassian Community Events