Hi,
I execute following CLI in script, which gives me response.
var command = new Packages.com.mks.api.Command("im", "viewissue");
command.addOption(new Packages.com.mks.api.Option("showHistory"));
ProjectID = 30300;
command.addSelection(ProjectID);
var response = api.executeCmd(command);
if(response != null)
{
var status = response.getWorkItems().next();
//want history here
}
I don't know how to read History through it, here I want what modification was done on the project 30300 in last few days.
Is there any method in API Bean instead of CLI ?