pub struct Comment {
pub param_self: Option<String>,
pub id: Option<String>,
pub author: Option<Box<UserDetails>>,
pub body: Option<String>,
pub rendered_body: Option<String>,
pub update_author: Option<Box<UserDetails>>,
pub created: Option<String>,
pub updated: Option<String>,
pub visibility: Option<Visibility>,
pub jsd_public: Option<bool>,
pub properties: Option<Vec<EntityProperty>>,
}
Expand description
Comment : A comment.
Fields§
§param_self: Option<String>
The URL of the comment.
id: Option<String>
The ID of the comment.
The ID of the user who created the comment.
body: Option<String>
The comment text.
rendered_body: Option<String>
The rendered version of the comment.
The ID of the user who updated the comment last.
created: Option<String>
The date and time at which the comment was created.
updated: Option<String>
The date and time at which the comment was updated last.
visibility: Option<Visibility>
The group or role to which this comment is visible. Optional on create and update.
jsd_public: Option<bool>
Whether the comment is visible in Jira Service Desk. Defaults to true when comments are created in the Jira Cloud Platform. This includes when the site doesn’t use Jira Service Desk or the project isn’t a Jira Service Desk project and, therefore, there is no Jira Service Desk for the issue to be visible on. To create a comment with its visibility in Jira Service Desk set to false, use the Jira Service Desk REST API Create request comment operation.
properties: Option<Vec<EntityProperty>>
A list of comment properties. Optional on create and update.