Try to get asset data with rest api

GrEgory Prins June 2, 2023

Hello everyone!,


I would like to get all my assets using rest api.
I'm using postman and then play this type of url GET :

'xxxxxxxx.atlassian.net/rest/assetapi/asset'
and get this result :
{
"limit": 20,
"size": 0,
"start": 0,
"values": [],
"isLastPage": true
}
I dont understand why i get an empty result because in fact i have assets in my jira.

Anyone can give me a clue please, that would be nice.
Thanks!

Best regards,

Greg

4 answers

1 accepted

0 votes
Answer accepted
GrEgory Prins June 5, 2023

Thank you so much! I found my happiness :)

0 votes
shanthosh kumar k
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 12, 2024

How you solved this issue @GrEgory Prins 

0 votes
GrEgory Prins June 5, 2023

Thank you so much! I found my happiness :)

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.
June 2, 2023

Hi @GrEgory Prins,

Welcome to Atlassian Community!

You have stumbled over the external assert platform API, not the one that is for the Assets that Atlassian provides if you are on JSM Premium. Here is the REST API document for Assets. 

Suggest an answer

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

Atlassian Community Events