How to get complete history of the issue using mks api??
How to get the Jar files for
https://change.unigroupinc.com/documentation/javadocs/triggers/index.html
How can we get the complete history with all modifications done in a particular field for a particular issue using java api of MKS ?
Command issuehistory = new Command(Command.IM, "viewissue");
issuehistory.addSelection(actIssue);
issuehistory.addOption(new Option("showHistory"));
| Response response = cmdRunner.execute(issuehistory); |
Iterator f = response.getWorkItem(actIssue).getFields();
WorkItem i = response.getWorkItem(actIssue);
while ((f).hasNext())
{
Field temp = (Field) f.next();
System.out.println(temp.getDisplayName()+":"+temp.getValueAsString());
}
System.out.println(i.getField("MKSIssueHistory").getDisplayName()+":"+i.getField("MKSIssueHistory").getValueAsString());
MKSIssueHistory:17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0
But i cannot get the whole history i.e who modified the issue on what date what all fields were changed from this response ???
Does anybody have any idea how to do it ???

