I catch issueEventBundle and trying to get changes which happened on the ticket on transition screen(left comment, change priority, etc).
For IssueEvent i can do IssueEvent.getChangeLog, but events from IssueEventBundle hasn’t change log.
I’ve tried this:
I haven’t tried it myself yet, but having a quick look I noticed you have getChengeLog, rather than getChangeLog. Could it be something as simple as a typo?
Also, not all methods in IssueEventBundleFactoryImpl add change log to the events.
The following methods do create IssueEvent with change log:
createIssueUpdateEventBundle
createWorkflowEventBundle
createWorklogEventBundle
While these ones do not contain change log (i.e. it is null):
createCommentAddedBundle
createCommentEditedBundle
createCommentDeletedBundle
createIssueArchivingRelatedEventBundle
createIssueDeleteEventBundle
So for changing priority I’d expect a non-null change log, but for adding a comment it will be null.
BTW, as a plugin developer, do you have access to Jira source code? If so, you can sniff around IssueEventBundleFactoryImpl for more information.
Hi @kcichy,
Yes, it’s typo in description, not in code.
In this case i don’t create IssueEventBundle, but catch it.
For case when someone create in Jira custom event and then wrap it into IssueEventBundle and fired it. There is no change log in IssueEvent. Am i properly understand?