Does the JSM Insight REST API support updating the inbound and outbound references of an object? I'm trying to ascertain whether it is possible to modify the Hypervisor reference for a Virtual Guest via the API but I can't find a straightforward method.
Hey @Boswell, Richard ,
Does the JSM Insight REST API support updating the inbound and outbound references of an object?
Yes, you can do this by updating the reference attributes on the objects. I just tried this out using the PUT object API (https://developer.atlassian.com/cloud/insight/rest/api-group-object/#api-object-id-put).
To do this you'll need:
e.g. to update object "AB-123" to have an outbound reference to "CD-456" you'd call that PUT API with url
https://api.atlassian.com/jsm/insight/workspace/{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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.