How does the Java API command to run a custom query look like?
Hi,
I am wondering how the Java API command for this CLI command would look like:
im issues --fields="ID,Summary" --sortField="Planned Release End Date" --queryDefinition=((field[Type]="Release")and(field[State]="Scheduled,In Progress")and(field[Project]="/some_project"))
I am stuck with the fields and the query definition option ![]()
What I have so far:
Command command = new Command();
command.setApp(Command.IM);
command.setCommandName("issues");
command.addOption(new Option("sortField","Planned Release End Date"));
Or is there any way to run the CLI command via the Java API directly without having im.exe and IntegrityClient.exe called?
Regards,
Simon

