Hi
I need to set an Asset field value for a team in a post function. But I'm struggling to find a syntax to set the value.
Should be the asset id or guid.
where 10010 is the issue custom field
put('/rest/api/2/issue/' + issue.key )
.header('Content-Type', 'application/json')
.body(
[
fields: [
issuetype : [
id: taskType
],
"customfield_10010" : "CT-1650"
]
])
.asString().status