Does anyone have an example of a JSON body that can be used to create a JSM issue and, within the same body, link an Insight object defined in a custom field? I cannot figure this out, I've tried multiple different ways, the issue is created successfully but the custom field is not populated.
I can do this using the following payload in my JSON
"customfield_XXXXX": [
{
"workspaceId": "WORKSPACE_ID",
"id": "WORKSPACE_ID:OBJECT_ID(NUMBER)",
"objectId": "OBJECT_ID"
}
]
How to get WorkSpaceID:
Access the URL: https://URL/rest/servicedeskapi/insight/workspace;
Collect the ID present in “WorkspaceId”.
How to get the ObjectID:
Access the insight and go to the desired object;
The “Object_ID” number is the numbering information that follows the object's key in Insight.
Excellent! That worked, I will say it seems like overkill but I'm not complaining. Thanks!
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.