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.
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request PUT 'http://jira.local:8080/jira/rest//rest/api/3/comment//properties/' \
--header'Content-Type: application/json' \
--data-raw'null'
Response Response Example
200 - Example 1
null
Request
Path Params
commentId
stringÂ
required
The ID of the comment.
propertyKey
stringÂ
required
The key of the property. The maximum length is 255 characters.
Body Params application/json
No schema defined
Examples
Responses
🟢200Returned if the comment property is updated.
application/json
Body
No schema defined
🟢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.