We have 2 object types in our asset schema. Servers and databases. Showing the server attributes here.

Then we have a custom field each called “Server(s)” and “Database(s) ( 48401 and 52500 respectively).
When the asset object picker gets the selected object however, it is returning the hostname/database name concatenated with the key and we’ve tried very way we can think of to reference only the “HOSTNAME” attribute of the selected object.
Any idea what we are missing here? We’ve tried:
- "{{ issue.customfield_48401 }}", <- gives both server and key
- "{{ issue.customfield_48401.key }}", <- gives just the key as expected
- "{{ issue.customfield_48401.HOSTNAME }}", <- returns null no matter the case we use
- "{{ issue.customfield_48401.value }}", <- returns null
- "{{ issue.customfield_48401.name }}", <- returns null
Example:
"customfield_48402": [
"CDSD0003_DG-caddld-499.belldev.dev.bce.ca (CNPI-3028740)"
],
"customfield_46100": null,
"customfield_48400": null,
"customfield_48401": [
"caddld-499.belldev.dev.bce.ca (CNPI-3029656)"
],I wish to ignore CNPI-3028740) and (CNPI-3029656)
Regards
Guru