@ExperimentalApi public interface OnCommitJiraIssueEvent extends OnCommitEvent<JiraIssueEvent>
OnCommitJiraIssueEventis supposed to be fired on commit if it's in a transaction, otherwise fired immediately.
JiraIssueEvent may be fired before commit.
This means that when listening to
JiraIssueEvent event, inaccurate data may be retrieved from database,
while listening to
OnCommitJiraIssueEvent guarantees the correct data.
There is no guarantee that the data in the wrapped
JiraIssueEvent has been updated after the commit,
and before publishing this message. However
OnCommitEvent.getOnCommitEventTransactionStatus() can be used as a guide.
OnCommitEvent.OnCommitEventDataReloadStatus, OnCommitEvent.OnCommitEventTransactionStatus, OnCommitEvent.OnCommitEventTransactionStatusSettable<E>
getOnCommitEventDataReloadStatus, getOnCommitEventTransactionStatus, getWrappedEvent
Copyright © 2002-2021 Atlassian. All Rights Reserved.