public interface CommentPinManager
Modifier and Type | Method and Description |
---|---|
List<CommentPinDTO> |
getPinnedComments(long issueId)
Returns list of pinned comments for given issue
|
boolean |
isFeatureEnabled()
Checks if feature flag is enabled
|
boolean |
isFeatureEnabledForServiceDesk()
Checks if dedicated feature flag is enabled for JSM
|
boolean |
isPinned(long commentId)
Checks if given comment is pinned
|
CommentPinDTO |
pinComment(long issueId,
long commentId,
String userKey,
java.time.Instant created)
Pins comment in given issue
|
void |
unpinComment(long commentId)
Unpins comment
|
CommentPinDTO pinComment(long issueId, long commentId, String userKey, java.time.Instant created)
issueId
- of issue which has comment to pincommentId
- to pinuserKey
- created
- time of action executionvoid unpinComment(long commentId)
commentId
- to unpinboolean isPinned(long commentId)
commentId
- List<CommentPinDTO> getPinnedComments(long issueId)
issueId
- boolean isFeatureEnabled()
boolean isFeatureEnabledForServiceDesk()
Copyright © 2002-2024 Atlassian. All Rights Reserved.