Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! 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?