Interface OnCommitIssueEvent

All Superinterfaces:
OnCommitEvent<IssueEvent>

@ExperimentalApi public interface OnCommitIssueEvent extends OnCommitEvent<IssueEvent>
This is a wrapper of issue events. The OnCommitIssueEvent is supposed to be fired on commit if it's in a transaction, otherwise fired immediately.

While the IssueEvent may be fired before commit.

This means that when listening to IssueEvent event, inaccurate data may be retrieved from database, while listening to OnCommitIssueEvent 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.getOnCommitEventDataReloadStatus() and OnCommitEvent.getOnCommitEventTransactionStatus() can be used as a guide.

Since:
7.4.0