Hello
I'm trying to get around the inability to import {{INTERNAL}} comments via CSV, as well as Cloud limitation, and came to a point where I decided to try updating them via REST API.
Documentation here says which endpoint URL to use and responses, however it doesn't provide any clues about which format PUT should be!
I tried various ways, from this
def setComment = put("/rest/api/2/comment/${commentId}/properties/sd.public.comment").body('{
"key": "sd.public.comment",
"value": {
"internal": false
}
}')to this
def setComment = put("/rest/api/2/comment/${commentId}/properties/sd.public.comment").body('{internal: false}')But none of them works. Would appreciate any help on this.