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

customfield displaying objectID

William Strickland
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 15, 2024

Hello all.

 

I'm calling a customfield for location populated by an assets object schema. 

so location is custom field X.    when i call that {{issue.customfield_X}} it returns what looks to be the corresponding buildings Object ID- plan text "MF-18077" 

thoughts on how to make that display as the name of the building that is shown otherwise in the ticket? 

 

1 answer

1 accepted

4 votes
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.
October 15, 2024

Hi @William Strickland,

Welcome to Atlassian Community!

What you see is expected, the asset custom field will always return the object key when you are using {{issue.customfield_X}}. In order to get to the attribute you are looking for you have to use the dot notation, something like this, {{issue.customfield_X.Location}}. You can learn more about it in this KB.

William Strickland
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 15, 2024

thank you very much! :) 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events