@ExperimentalApi
public interface ServiceDeskCommentCreateParameters
Modifier and Type | Interface and Description |
---|---|
static interface |
ServiceDeskCommentCreateParameters.Builder |
Modifier and Type | Method and Description |
---|---|
com.atlassian.jira.user.ApplicationUser |
author() |
Optional<String> |
body()
Optional text body of the Comment.
|
com.atlassian.jira.issue.Issue |
issue() |
boolean |
publicComment()
Required parameter to indicate the Comment's visibility.
|
List<com.atlassian.jira.issue.attachment.TemporaryAttachmentId> |
temporaryAttachmentIds()
Optional list temporary attachment ID's to associate with the Comment.
|
@Nonnull com.atlassian.jira.user.ApplicationUser author()
@Nonnull com.atlassian.jira.issue.Issue issue()
Issue
the Comment
associated to@Nonnull Optional<String> body()
body()
or temporaryAttachmentIds()
, or both must be providednull
is not provided@Nonnull List<com.atlassian.jira.issue.attachment.TemporaryAttachmentId> temporaryAttachmentIds()
body()
or temporaryAttachmentIds()
, or both must be provided
JIRA manages a list of user's TemporaryAttachment
's by user session, and will expire them once the session expired.
boolean publicComment()
true
, the Comment is visible to Customers. Otherwise, the comment is internal, and is only visible to Agents or Unlicenced usersCopyright © 2017 Atlassian. All rights reserved.