I'm trying to obtain all changelog from an issue using JRJC but I seem to be getting a null object (even though I can read other things such as the description).
How do I get this working properly?
My code:
issue = issueRestClient.getIssue(issueKey).get();
System.out.println(issue.getDescription()); // works well
// Code below does not work, changelogGroups = null
========================================================================
Iterable<ChangelogGroup> changelogGroups = issue.getChangelog();
if(changelogGroups != null){
for(ChangelogGroup changelogGroup : changelogGroups){
System.out.println("Author: " + changelogGroup.getAuthor());
}
}
========================================================================