future TL release 1.9.12 will introduce a new api method getTestCaseBugs(). It returns all bugs linked to a particular testcase on a test plan.
current know arguments are (TL gitorious commit 9ca61c8)::
/**
* Returns all bugs linked to a particular testcase on a test plan.
* If there are no filter criteria regarding platform and build,
* result will be get WITHOUT checking for a particular platform and build.
*
* @param struct $args
* @param string $args["devKey"]
* @param int $args["tplanid"]
* @param int $args["testcaseid"]: Pseudo optional.
* if does not is present then testcaseexternalid MUST BE present
*
* @param int $args["testcaseexternalid"]: Pseudo optional.
* if does not is present then testcaseid MUST BE present
*
* @param string $args["platformid"]: optional.
* ONLY if not present, then $args["platformname"]
* will be analized (if exists)
*
* @param string $args["platformname"]: optional (see $args["platformid"])
*
* @param int $args["buildid"]: optional
* ONLY if not present, then $args["buildname"] will be analized (if exists)
*
* @param int $args["buildname"] - optional (see $args["buildid"])
*
*
* @return mixed $resultInfo
* if execution found
* array that contains a map with these keys:
* bugs
*
* if test case has not been execute,
* array('id' => -1)
*
* @access public
*/
public function getTestCaseBugs($args)
future TL release 1.9.12 will introduce a new api method
getTestCaseBugs()
. It returns all bugs linked to a particular testcase on a test plan.current know arguments are (TL gitorious commit 9ca61c8)::