Issue comment properties
Set comment property
Creates or updates the value of a property for a comment. Use this resource to store custom data against a comment.
The value of the request body must be a valid, non-empty JSON blob. The maximum length is 32768 characters.
Permissions required: either of:
- Edit All Comments project permission to create or update the value of a property on any comment.
- Edit Own Comments project permission to create or update the value of a property on a comment created by the user.
put/rest/api/2/comment/{commentId}/properties/{propertyKey}
Path parameters
commentIdstring required
The ID of the comment.
propertyKeystring required
The key of the property. The maximum length is 255 characters.
Request body
{"stackTrail":"paths:/rest/api/2/comment/{commentId}/properties/{propertyKey}:put:requestBody:content:application/json:schema","oasType":"schema","type":"unknown"}
Response
Returned if the comment property is updated.
{"stackTrail":"paths:/rest/api/2/comment/{commentId}/properties/{propertyKey}:put:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}