My listener can call method IssueEvent.getChangeLog(), that returns a generic value for entity named "ChangeGroup". How can I get all change items from this group through JIRA API?
From the GenericValue, get the id which will be the ChangeGroup id. Use the OfBizDelegator to find all changelists using that id. I do,
delegator.findByAnd("ChangeList",EasyMap.build("group",id))
You can iterate over the changelists and find the newvalue, oldvalue, newstring and oldstring for each of the changes.
Yes, I`ve implemented this so, but I thought that it`s another solution exists. Thank you for answer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.