@ExperimentalApi
public interface ServiceDeskCommentQuery
ServiceDeskComment
The following are examples to construct common queries:
// Query both public and internal comments (default behavior)
ServiceDeskCommentQuery query = commentService.newQueryBuilder().issue(issue).build();
// Query public comments only
ServiceDeskCommentQuery query = commentService.newQueryBuilder().issue(issue).publicComment(true).internalComment(false).build();
// Query internal comments only
ServiceDeskCommentQuery query = commentService.newQueryBuilder().issue(issue).publicComment(false).internalComment(true).build();
Modifier and Type | Interface and Description |
---|---|
static interface |
ServiceDeskCommentQuery.Builder
Builder to construct the
ServiceDeskCommentQuery . |
Modifier and Type | Method and Description |
---|---|
boolean |
internalComment() |
com.atlassian.jira.issue.Issue |
issue() |
LimitedPagedRequest |
pagedRequest() |
boolean |
publicComment() |
com.atlassian.jira.issue.Issue issue()
Issue
from which comments will be retrievedLimitedPagedRequest pagedRequest()
ServiceDeskComment
to retrieveboolean publicComment()
boolean internalComment()
Copyright © 2017 Atlassian. All rights reserved.