Hi, I am updating an Item using java program but getting "null" response.
Please help me with below code.
Command cmd = new Command();
cmd.setApp(Command.IM);
cmd.setCommandName("editissue");
cmd.addOption(new Option("field", "\"" + value + "\""));
cmd.addSelection(issueId);
CmdRunner cr = getPTCDataSource();
Response response = cr.execute(cmd);
Result result = response.getResult();
It throws "CommandException" saying CommandException(null).
Generated query from the code: im editissue --field="Discussion=API Testing" -- 1234
Please assist.
Thanks,
Gajanan.