Forums

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

Pull Asset customfield data via Jira Issue API

Reddy Girish
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!
October 18, 2024

I have added an Asset object as a customfield to my Jira issue. But when I call the Jira Issue Get API, only the asset object ID is returned. Is there a way for that API to return the actual asset object attribute data in the same call or do I need to make a separate call to Assets API?

I was hoping that the API works in the same way as Jira for Automation that allows smart values for both normal and asset customfields.

1 answer

1 accepted

4 votes
Answer accepted
Mikael Sandberg
Community Champion
October 18, 2024

Hi @Reddy Girish,

Welcome to Atlassian Community!

What you see is expected, the issue is only holding the asset key as a reference in the custom field, so you would have to use the API for Assets in order to get the value you are looking for.  

Reddy Girish
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!
October 19, 2024

Thank you Mikael!

Suggest an answer

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

Atlassian Community Events