Interface ServiceDeskCommentCreateParameters
@PublicApi
public interface ServiceDeskCommentCreateParameters
Parameter to create a comment on a Jira Service Management's request.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptioncom.atlassian.jira.user.ApplicationUserauthor()body()Optional text body of the Comment.com.atlassian.jira.issue.Issueissue()booleanRequired parameter to indicate the Comment's visibility.List<com.atlassian.jira.issue.attachment.TemporaryAttachmentId>Optional list temporary attachment ID's to associate with the Comment.
-
Method Details
-
author
@Nonnull com.atlassian.jira.user.ApplicationUser author()- Returns:
- author who creates the Comment
-
issue
@Nonnull com.atlassian.jira.issue.Issue issue()- Returns:
- the
IssuetheCommentassociated to
-
body
Optional text body of the Comment. Either ofbody()ortemporaryAttachmentIds(), or both must be provided- Returns:
- text body of the Comment.
nullis not provided
-
groupVisibility
-
projectRoleVisibility
-
temporaryAttachmentIds
Optional list temporary attachment ID's to associate with the Comment. Either ofbody()ortemporaryAttachmentIds(), or both must be providedJIRA manages a list of user's
TemporaryAttachment's by user session, and will expire them once the session expired.- Returns:
- list of temporary attachment IDs. Empty list if not provided
-
publicComment
boolean publicComment()Required parameter to indicate the Comment's visibility. If set totrue, the Comment is visible to Customers. Otherwise, the comment is internal, and is only visible to Agents or Unlicenced users- Returns:
- true if public comment, false otherwise
-