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

JSM Assets REST API Get object {id} referenceinfo question

Eric Krueger _StrataCom_ Inc_ May 8, 2024

Using the REST call for Get object {id} referenceinfo shows all INCOMING relationships, but not outgoing.  For example, if I have a desktop with monitors and keyboards attached, they show up as relationships in the graph, but when I hit the desktop with the rest api call, I don't see any related items.  However, for the monitor, I do see the relationship for the desktop.  How do I see all the related records for the desktop?

outgoing relationships.png

1 answer

0 votes
Vijay Dadi
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 8, 2024

Hello @Eric Krueger _StrataCom_ Inc_ ,

Yes, you can do this by updating the reference attributes on the objects. I just tried this out using the PUT object API (

To do this you'll need:

  • the attribute id of the outbound reference attribute on your object
  • the key(s) or ID(s) of the object to update
  • the key(s) or ID(s) of the new outbound reference

e.g. to update object "AB-123" to have an outbound reference to "CD-456" you'd call that PUT API with url{yourworkspaceid}/v1/object/AB-123

with a body like

"attributes": [
"objectTypeAttributeId": "674",
"objectAttributeValues": [
"value": "CD-456"

To do this to update the "inbound reference" you'll need to update the attribute of the object you want to be a new inbound reference.

Similarly you can try it out with GET method

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events