Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
Able to use createquery command and working fine..Now how to run created query through CLI?
Please support
Hi @SS_10728259
you can get them using something like this:
Command cmdS = new Command("im viewissue");
cmdS.addSelection("Id of your Test Suite");
Response result = integritySession.execute(cmdS);
WorkItemIterator wit = result.getWorkItems();
while (wit.hasNext()) {
WorkItem wi = wit.next();
ItemListImpl fieldValue = (ItemListImpl) wi.getField("Contains").getValue();
for (Iterator it = fieldValue.iterator(); it.hasNext();) {
Item item = (Item) it.next();
System.out.println(item.getId());
}
}
Regards
Zeiad
Thanks, No familiar with java much. Could you please share it in python if possible?