OR condition across the fields in defect module
I am looking to perform OR condition across the fields in Defect module of QC.
I need to pull all the defects
1) Subject = "Release1"
2) Summary = "*failed*"
I can do this with SQL queries option in QC but i want to acheive the same thing with OTA API and i won't get access for the Command object.
Does any one know how to solve this problem? If yes, please throw some light on how to do in OTA API bugfilter.
Thanks in Advance
Re: OR condition across the fields in defect module
Set QCConnection = QCUtil.QCConnection
Set QCBugFactory = QCConnection.BugFactory
Set QCBugFilter = QCBugFactory.Filter
QCBugFilter("BG_BUG_STATUS") = "New OR Open OR Closed"
QCBugFilter("BG_USER_13") = "Rel 1.1"
Set BugList = QCBugFactory.NewList(QCBugFilter.Text)
For each Bug in BugList
Try this out