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: 

How do I access a non-label attribute from a referenced object type?

Laurence Reynolds
Contributor
June 12, 2022

Hi,

My colleague has set up an "Internal Employee" object type in their schema and has made the "Display Name" attribute the label field of the object type.  In my own schema I need to access the "Work Email" attribute within my colleague's object type.  When I make the reference between the "Email" attribute in my object type and my colleague's "Internal Employee" object type the only data I see listed is the contents of the "Display Name" attribute.

How can I access the contents of the "Work Email" attribute from my colleagues object type?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Joseph Chung Yin
Community Champion
June 12, 2022

@Laurence Reynolds -

Are you referring to an Insight Schema?  Please advise.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Infrastructure Applications Team

Viasat Inc.

Laurence Reynolds
Contributor
June 12, 2022

Yes this is in Insight 

Joseph Chung Yin
Community Champion
June 12, 2022

@Laurence Reynolds -

Where/how do you want to pull this attribute information (i.e. via JSM issue or via REST APIs custom process)?

Please advise.

Best, Joseph

Laurence Reynolds
Contributor
June 12, 2022

I will want to access this information in two situations

1)  When manually creating an object in Insight using the "Create object" screen from the object type screen (i.e. selecting from a dropdown list of values coming from an attribute on my colleagues object type)

2)  Create object from issue/request screen again selecting required value from a dropdown list from a custom field

I think (2) should be okay but I haven't tried it yet. 

My immediate concern is option (1).  As stated above, currently when I click on the dropdown for the attribute linked to my colleagues object type I see a list of the "Display Name" (i.e. the label field) attribute values from the "Internal Employee" objects.  What I want to see is a list of "Work Email" attribute values.

Like Brad Missal likes this
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events