Appearance
Delete comment property
Deletes a comment property.
Permissions required: either of:
DELETE /rest/api/3/comment/{commentId}/properties/{propertyKey}
/rest/api/3/comment/{commentId}/properties/{propertyKey}
--commentId
--propertyKey
Example:
jr comment delete-property --commentId <commentId> --propertyKey <propertyKey>
Get comments by IDs
Returns a paginated list of comments specified by a list of comment IDs.
This operation can be accessed anonymously.
Permissions required: Comments are returned where the user:
POST /rest/api/3/comment/list
/rest/api/3/comment/list
--body
--expand
renderedBody
properties
jr comment get-by-ids
Get comment property
Returns the value of a comment property.
Permissions required:
GET /rest/api/3/comment/{commentId}/properties/{propertyKey}
jr comment get-property --commentId <commentId> --propertyKey <propertyKey>
Get comment property keys
Returns the keys of all the properties of a comment.
GET /rest/api/3/comment/{commentId}/properties
/rest/api/3/comment/{commentId}/properties
jr comment get-property-keys --commentId <commentId>
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.
PUT /rest/api/3/comment/{commentId}/properties/{propertyKey}
jr comment set-property --commentId <commentId> --propertyKey <propertyKey>
comment
delete-property
Delete comment property
Deletes a comment property.
Permissions required: either of:
DELETE
/rest/api/3/comment/{commentId}/properties/{propertyKey}--commentId--propertyKeyExample:
get-by-ids
Get comments by IDs
Returns a paginated list of comments specified by a list of comment IDs.
This operation can be accessed anonymously.
Permissions required: Comments are returned where the user:
POST
/rest/api/3/comment/list--body--expandrenderedBodyReturns the comment body rendered in HTML.propertiesReturns the comment's properties. |Example:
get-property
Get comment property
Returns the value of a comment property.
This operation can be accessed anonymously.
Permissions required:
GET
/rest/api/3/comment/{commentId}/properties/{propertyKey}--commentId--propertyKeyExample:
get-property-keys
Get comment property keys
Returns the keys of all the properties of a comment.
This operation can be accessed anonymously.
Permissions required:
GET
/rest/api/3/comment/{commentId}/properties--commentIdExample:
set-property
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:
PUT
/rest/api/3/comment/{commentId}/properties/{propertyKey}--body--commentId--propertyKeyExample: