I am stuck trying to change Inisght object attribute values via REST API. The code i am using right now:
Response status is 200, but no changes have been made to Insight object, everything remains same.
If I am trying to update the value in Automation it works fine.
What could be the solution to get this working?
Hello,
I think there is still an error in your URL, for example I don't see the objectTypeId an Id parameters in the URL.
Have a look at the documentation:
https://developer.atlassian.com/cloud/insight/rest/api-group-objecttypeattribute/#api-objecttypeattribute-objecttypeid-id-put
Regards,
Jeroen
ObjectTypeID is not needed.
The whole reason why it did not work is because from .body onwords the {} brackets have to be replaced with [], after that the code works fine.
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.