Jira Cloud Rest API - Search Asset Object

Fabio Tavares
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 31, 2025

Is there a way to search Asset object using The Jira Cloud platform REST API?

I see there is The Assets REST API but this forces me to use a different endpoint and also make extra call to get workspaceid.

 

 

2 answers

1 accepted

1 vote
Answer accepted
Dirk Ronsmans
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 31, 2025

Hi @Fabio Tavares ,

On Cloud you are required to use the Assets specific REST API.

on premise, you would have all the data on your own instance but now it seems that you are actually calling the Assets system and identifying your data using the workspace id.

So, unfortunately, no you cannot use the regular Cloud REST API to get Assets data, you'll have to use the Assets REST API for that. 

0 votes
Kai Krause
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 31, 2025

Hello and Welcome, 

 

i think actually you can not search Assets via Jira API,  

In case you want get data from asset customfields , you can use Assets JQL Functions | Jira Service Management Cloud | Atlassian Support with https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-search/#api-rest-api-3-search-jql-get 

BR
Kai

Fabio Tavares
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!
February 3, 2025

If I'm understanding this right, I would need the asset to be connected to an issue to attempt this way which is not what I'm looking for unfortunately.

Dirk Ronsmans
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 3, 2025

Indeed, you'll be better off connecting directly to Assets using 

https://developer.atlassian.com/cloud/assets/rest/api-group-object/#api-object-aql-post and performing an AQL search 

Suggest an answer

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

Atlassian Community Events