Interface IssueChangedEvent

All Superinterfaces:
IssueRelatedEvent, JiraEvent, SpanningOperationEvent
All Known Implementing Classes:
IssueChangedEventImpl

@PublicApi public interface IssueChangedEvent extends IssueRelatedEvent
This event represents any issue change
Since:
v7.2
  • Method Details

    • getAuthor

      @Nonnull Optional<ApplicationUser> getAuthor()
      The user who caused the event, or empty representing an anonymous action.
      Returns:
      the user, can be empty
    • getComment

      @Nonnull Optional<Comment> getComment()
      The comment that was added to the issue with the change.
      Returns:
      the comment, can be empty
    • getChangeItems

      @Nonnull Collection<ChangeItemBean> getChangeItems()
      The changes that were made to the issue with the action that caused the event.
      Returns:
      the changes
    • getChangeItemForField

      @Nonnull Optional<ChangeItemBean> getChangeItemForField(@Nonnull String fieldName)
      The change of the given field in the event, if
      1. the given fieldName equals the name of one of the ChangeItemBean in the event
      2. the old and the new value do not equal (don't have the same value and are not both null)
      Parameters:
      fieldName - the name of the field
      Returns:
      the change, which is empty if the field wasn't changed.
    • isSendMail

      default boolean isSendMail()
      Returns:
      If an email should be send for this change.
      Since:
      v7.4.0