Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,368,022
Community Members
 
Community Events
168
Community Groups

Insight Automation Bad Request when editing Object Attribute

Edited

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

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