Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to create Insight object with multiple choice from Automation (web request)

Giorgi Tsitskishvili October 28, 2022

I have service Customer Request Type/form on customer portal and from there user is can choose  value in Insight custom field Container Tech Stack.

Screenshot 2022-10-28 113235.png

after this, I have automation (sent web request by webhook url (Insight Rest API), where for mapping I'm using smart values:  

{ "objectTypeAttributeId": 467,
"objectAttributeValues": [{"value": "{{issue.Container Tech Stack.Key}}"}]
},

and automation is creating new object in Insight.

But problem is when the multiple choice in Container Tech Stack is needed and automation goes to error: {"errorMessages":[],"errors":{"rlabs-insight-attribute-467":"IA-4373, IA-4374 is not valid Object id or key"}}.

I tried to find solution, read this article How to create Asset objects via REST API based on different attribute type but there is no written how to set multiple value on smart values.

Please help to solve this problem.

thank you in advance 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events