I need to filter the defects for a certain range of ID's from HP ALM using its OTA. This needs to be done without calling all the defects from ALM and filtering them from code as that would significantly increase the time which is not desirable.
For example, I can filter a single defect as follows:
TDAPIOLELib.BugFactory OBugFactory = alm_core.tDConnection.BugFactory as TDAPIOLELib.BugFactory;
TDAPIOLELib.TDFilter OTDFilter = OBugFactory.Filter as TDAPIOLELib.TDFilter;
TDAPIOLELib.List OBugList;
// Gets only the bug with ID 3
OTDFilter["BG_BUG_ID"] = 3;
OBugList = OBugFactory.NewList(OTDFilter.Text);
Is there a way to get the Bug List in an ID range between 1 to 100. Something like this:
// Gets all the bugs between 1-100
OTDFilter["BG_BUG_ID_MIN"] = 1;
OTDFilter["BG_BUG_ID_MAX"] = 100;
OBugList = OBugFactory.NewList(OTDFilter.Text);