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: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

4 votes
Answer accepted
Mikael Sandberg
Community Champion
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! :) 

TAGS
AUG Leaders

Atlassian Community Events