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 Commentsproject permission to create or update the value of a property on any comment.
Edit Own Commentsproject permission to create or update the value of a property on a comment created by the user.
Also, when the visibility of a comment is restricted to a role or group the user must be a member of that role or group.
请求示例请求示例
Shell
JavaScript
Java
Swift
curl--location-g--request PUT 'http:///rest/api/3/comment//properties/' \
--header'Content-Type: application/json' \
--data-raw'null'
响应示例响应示例
200 - 示例 1
null
请求参数
Path 参数
Body 参数application/json
示例
返回响应
🟢200Returned if the comment property is updated.
application/json
Body
🟢201Returned if the comment property is created.
🟠400Returned if the request is invalid.
🟠401Returned if the authentication credentials are incorrect or missing.
🟠403Returned if the user does not have the necessary permission.