The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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 Champion
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. 

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events