Interface ServiceDeskCommentEvent


@PublicApi public interface ServiceDeskCommentEvent
Represents a comment made on a customer request. Is not thrown on comment deletion.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    com.atlassian.jira.issue.Issue
     
    Time the event was created.
    com.atlassian.jira.user.ApplicationUser
     
    boolean
    true, if the comment event is thrown during a comment creation.
    boolean
    true, if the comment event is part of an issue edit/bulk edit operation (at least one of the issue fields changed).
    boolean
    true, if an email should be send because of this event.
  • Method Details

    • getUser

      com.atlassian.jira.user.ApplicationUser getUser()
      Returns:
      the user that created or modified the comment
    • getIssue

      com.atlassian.jira.issue.Issue getIssue()
      Returns:
      the issue on which the comment occurred
    • getComment

      ServiceDeskComment getComment()
      Returns:
      The underlying service project comment
    • isCreatedEvent

      boolean isCreatedEvent()
      true, if the comment event is thrown during a comment creation. false if it is a comment update event.
    • isPartOfIssueChange

      boolean isPartOfIssueChange()
      true, if the comment event is part of an issue edit/bulk edit operation (at least one of the issue fields changed).
      Since:
      ${platform}.
    • isSendMail

      boolean isSendMail()
      true, if an email should be send because of this event.
      Since:
      ${platform}.
    • getTime

      Date getTime()
      Time the event was created.
      Returns:
      time of the event
      Since:
      3.2.0