Package com.atlassian.jira.event.issue
Interface IssueChangedEvent
- All Superinterfaces:
IssueRelatedEvent
,JiraEvent
,SpanningOperationEvent
- All Known Implementing Classes:
IssueChangedEventImpl
This event represents any issue change
- Since:
- v7.2
-
Method Summary
Modifier and TypeMethodDescriptionThe user who caused the event, orempty
representing an anonymous action.getChangeItemForField
(String fieldName) The change of the given field in the event, if the givenfieldName
equals the name of one of theChangeItemBean
in the event the old and the new value do not equal (don't have the same value and are not both null)The changes that were made to the issue with the action that caused the event.The comment that was added to the issue with the change.default boolean
Methods inherited from interface com.atlassian.jira.event.issue.IssueRelatedEvent
getIssue
Methods inherited from interface com.atlassian.jira.event.operation.SpanningOperationEvent
getSpanningOperation
-
Method Details
-
getAuthor
The user who caused the event, orempty
representing an anonymous action.- Returns:
- the user, can be empty
-
getComment
The comment that was added to the issue with the change.- Returns:
- the comment, can be empty
-
getChangeItems
The changes that were made to the issue with the action that caused the event.- Returns:
- the changes
-
getChangeItemForField
The change of the given field in the event, if- the given
fieldName
equals the name of one of theChangeItemBean
in the event - 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.
- the given
-
isSendMail
default boolean isSendMail()- Returns:
- If an email should be send for this change.
- Since:
- v7.4.0
-