Hi everyone,
I have created a JIRA Issue Listener to be notified about issue changes.
I do get an IssueEvent and an Issue, but I don´t know how to find out what exactly in my Issue has changed.
For example: I would like to know whether my summary, my estimation or my description has been changed.
Is there any way to find out what exactly has changed ?
Community moderators have prevented the ability to post new answers.
Hello,
I do not think that it is possible with the available templates at the moment (atleast as far as I know).
Your best bet is to inspect the GenericValue
returned from com.atlassian.jira.event.issue.IssueEvent#getChangeLog
If your using JIRA 6.3+, it may be more comfortable to get the respective ChangeHistory
first:
ChangeHistory changeHistory = changeHistoryManager.getChangeHistoryById(event.getChangeLog().getLong("id"));
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.