Update a comment with rich text HTML via REST API
I can successfully create a comment (as seen in Workfront UI Updates section) of an Issue with this REST API call using v20
```
curl --location 'https://SUBDOMAIN.workfront.com/attask/api/v20.0/note' \
--header 'Content-Type: application/json' \
--header 'Authorization: ••••••' \
--data '{
"objID": "68d2c7fe00911872fc05f2e559650090",
"objCode": "NOTE",
"html": "Hello <b>World</b> from Postman JSON 1",
"noteText": "Hello Plain from Postman JSON 1",
"noteObjCode": "OPTASK",
"json": "{}"
}'
```
The problem is updating a comment (with or without a nested comment). I can only update the plain text noteText, the HTML is not overwritten. Since Adobe Workfront UI only displays the HTML comment this update is not displaying!!
```
curl --location --request PUT 'https://SUBDOMAIN.workfront.com/attask/api/v20.0/note/68d43bd6004d01abe8f85c5726e94108' \
--header 'Content-Type: application/json' \
--header 'Authorization: ••••••' \
--data '{
"objID": "68d2c7fe00911872fc05f2e559650090",
"objCode": "NOTE",
"html": "Hello <b>World</b> from Postman JSON 2",
"noteText": "Hello Plain from Postman JSON 2",
"noteObjCode": "OPTASK",
"json": "{}"
}'
```
I also tried sending the rich text format in Draft.js JSON
```
curl --location --request PUT 'https://SUBDOMAIN.workfront.com/attask/api/v20.0/note/68d43bd6004d01abe8f85c5726e94108' \
--header 'Content-Type: application/json' \
--header 'Authorization: ••••••' \
--data '{
"objID": "68d2c7fe00911872fc05f2e559650090",
"objCode": "NOTE",
"noteObjCode": "OPTASK",
"noteText": "Update 3",
"json": "{\"blocks\":[{\"key\":\"some_random_key\",\"text\":\"Update 3\",\"type\":\"unstyled\",\"depth\":0,\"inlineStyleRanges\":[],\"entityRanges\":[],\"data\":{}}],\"entityMap\":{}}"
}'
```