@PublicApi
public interface SLAChangeEvent
Modifier and Type | Method and Description |
---|---|
Optional<com.atlassian.jira.issue.history.ChangeItemBean> |
getChangeItemForField(String fieldName)
One of the changes (multi valued field) of the given field in the event, if
the given
fieldName equals the name of one of the ChangeItemBean in the event
the old and the new value do not equal (don't have the same value and are not both null)
|
Collection<com.atlassian.jira.issue.history.ChangeItemBean> |
getChangeItems()
The changes that were made to the issue
with the action that caused the event.
|
Optional<com.atlassian.jira.issue.comments.Comment> |
getComment()
The comment of the originating event or empty.
|
com.atlassian.jira.issue.Issue |
getIssue()
The issue that is involved in the originating event.
|
com.atlassian.jira.project.Project |
getProject()
The project the originating event published in.
|
Date |
getTime()
The created time of the originating event.
|
boolean |
isIssueCreatedEvent()
Returns if the originating event is a issue created event.
|
@Nonnull Optional<com.atlassian.jira.issue.comments.Comment> getComment()
@Nonnull com.atlassian.jira.issue.Issue getIssue()
boolean isIssueCreatedEvent()
@Nonnull com.atlassian.jira.project.Project getProject()
@Nonnull Collection<com.atlassian.jira.issue.history.ChangeItemBean> getChangeItems()
@Nonnull Optional<com.atlassian.jira.issue.history.ChangeItemBean> getChangeItemForField(@Nonnull String fieldName)
fieldName
equals the name of one of the ChangeItemBean
in the eventfieldName
- the name of the fieldCopyright © 2023 Atlassian. All rights reserved.