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

Assets import and update: use import or REST API?

Ben Dossche April 16, 2024

Hi, 

we need to import several lists of Assets into our JSM and also want to be able to reimport/update these same assets on a regular basis. As far as I see I have 2 options:

  • using import functionality (import data from CSV, JSON)
  • using REST API (most probably with Forge)

the import functionality seems a bit less complicated, however it is not very clear to me whether a regular reimport/update of these assets is possible. 

What would be the best approach for this situation?

 

1 answer

1 accepted

1 vote
Answer accepted
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.
April 16, 2024

Hi @Ben Dossche,

Welcome to Atlassian Community!

Using the import functionality is a manual process, so for the initial import that would work, but if you want to do it on a regular basis I would go the REST API route unless you will be using Assets Discovery to do the import. On thing to note if you use the external import you cannot use the user attribute or your import will fail since the external import is using an anonymous account so it does not have access your users.

I use the REST API to do daily updates to our assets, it is all handled by a workflow in Tray.io.

Ben Dossche April 19, 2024

Thank you for your explanations! That helps.

 

Like Mikael Sandberg likes this
Steve van Niman October 9, 2024

Mikael,

Where can I find documentation for JSM Assets Rest Api's?  Everything I have found online, when tried, comes back with dead endpoints.

Thanks,

Steve

Ben Dossche October 9, 2024

Hi, I worked with this REST API Documentation, worked well: https://developer.atlassian.com/cloud/assets/rest/api-group-objectschema/#api-group-objectschema

Regards,

Ben

Suggest an answer

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

Atlassian Community Events