I'm trying to create an automation that updates an asset object.
Using the rest API was mentioned on this page somewhere.
using postman to test to.
https://api.atlassian.com/jsm/assets/workspace/v1/object/{{ObjectList.key}}
with the next payload:
{ "attributes": [ { "id": "76270", "objectAttributeValues": [ { "Value": "8" } ] } ] }
I do get an '200 ok' response but the object is not updated.
Does anyone can inspire me please?
{
"attributes": [
{
"objectTypeAttributeId": "48",
"objectAttributeValues": [
{
"value": "8"
}
]
}
],
"objectTypeId": "37"
}
seems to be the correct payload
reference: The Assets REST API (atlassian.com)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.