Insight Automation Bad Request when editing Object Attribute

Mauricio Heberle
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.
September 23, 2022

Hi Everyone,

Situation: I am trying to create an automation, which when the issue is solved, it adds a value to an object attribute in Insight.

I am following this article, which is the exact same situation I am facing, still I am receiving a bad request 400 in my call.

https://confluence.atlassian.com/jirakb/append-list-of-objects-to-a-reference-insight-object-attribute-using-automation-1141483722.html

Below the images of my automation

Captura de Tela 2022-09-23 às 13.36.05.png

Captura de Tela 2022-09-23 às 12.24.20.png

To clarify:

System Name is the attribute of the Employees object that stores the user's applications.

Applications is insight field containing the apps.

My url https://api.atlassian.com/jsm/insight/workspace/myworkspaceid/v1/object/{{object.id}}

Below the payload I am getting:

Captura de Tela 2022-09-23 às 13.29.09.png

Thanks in advance

1 answer

1 accepted

0 votes
Answer accepted
Mauricio Heberle
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.
September 23, 2022

I just found out.

 

My header was application-json, whereas it should be application/json.

 

Solved.

Suggest an answer

Log in or Sign up to answer