jira asset/insight automatically associate referencing object when edit a object
Asked by maomaocui:

Managing the assets of a central data center involves numerous racks, with each rack accommodating a standard of 20 servers and switches. Each switch has 24 ports. I have established an object architecture where servers and network devices are categorized under racks; within the network devices, there are switches and routers. Ports are defined as an independent object type, with two additional object types: port type and port status. The attributes of the port object include port number, port type, port status, and connected server. Except for the port number, the other three are object references to facilitate management. In the properties of the switch object type, I added a port information attribute, which is a multi-value reference to the port object. I want the effect that when creating an instance of the switch object, selecting the corresponding port object instance would trigger a pop-up to continue filling in the corresponding port type, port status, and the connected server. However, despite trying various methods, I can only select the port object instance without the pop-up for entering the corresponding type, status, and connected server.


Answers:
author: Mark Higgins
body: Hi [@maomaocui](/t5/user/viewprofilepage/user-id/3656128)

Welcome to the Community!

I'm a picture person :-) Are you able to provide a screen shot of your schema?

Pop-ups are not native, but forms can have sections that are conditional, and custom fields can use other custom fields to filter results, so I'm trying to get a picture of what you are attempting.

Cheers

Mark

comments: author: maomaocui
body: I tried two solutions, this is solution one

![7D1E5926-6C44-4ee1-9E07-AC3678D5D38B.png](https://community.atlassian.com/t5/image/serverpage/image-id/348628i2A87294AEE5A3F4D/image-size/large?v=v2&px=999 "7D1E5926-6C44-4ee1-9E07-AC3678D5D38B.png")![C4D956C8-7D5A-46c1-93FD-31D595BE120F.png](https://community.atlassian.com/t5/image/serverpage/image-id/348630iD27B554D8EC50406/image-size/large?v=v2&px=999 "C4D956C8-7D5A-46c1-93FD-31D595BE120F.png")![F8E46DB7-91F3-4373-990C-EB29E37063D3.png](https://community.atlassian.com/t5/image/serverpage/image-id/348629i315278EDAE78FAF5/image-size/large?v=v2&px=999 "F8E46DB7-91F3-4373-990C-EB29E37063D3.png")

and this is solution two

![Snipaste_2024-09-23_13-40-19.png](https://community.atlassian.com/t5/image/serverpage/image-id/348644i51F539665A7E50D5/image-size/large?v=v2&px=999 "Snipaste_2024-09-23_13-40-19.png")![Snipaste_2024-09-23_13-40-47.png](https://community.atlassian.com/t5/image/serverpage/image-id/348641iDACFC8C5383A0EFB/image-size/large?v=v2&px=999 "Snipaste_2024-09-23_13-40-47.png")![Snipaste_2024-09-23_13-40-59.png](https://community.atlassian.com/t5/image/serverpage/image-id/348642iAC2EDF8963F0706F/image-size/large?v=v2&px=999 "Snipaste_2024-09-23_13-40-59.png")![Snipaste_2024-09-23_13-41-09.png](https://community.atlassian.com/t5/image/serverpage/image-id/348643i1552A534A3BB094F/image-size/large?v=v2&px=999 "Snipaste_2024-09-23_13-41-09.png")


author: Mark Higgins
body: Hi [@maomaocui](/t5/user/viewprofilepage/user-id/3656128)

Thanks for the info. I'm going to go away and think on that.

How are you creating the instance of the switch object?

Cheers

Mark


author: maomaocui
body: The attributes of a switch are almost the same as those of a router.

![??2024-09-24 22.32.54.png](https://community.atlassian.com/t5/image/serverpage/image-id/349030i21EA327B4EFFFB2C/image-size/large?v=v2&px=999 "??2024-09-24 22.32.54.png")


Tags: assets

insight

jira-service-management-data-center

jira-software-data-center