Page 1 of 1

Update testresults with mantis bug id automatically

Posted: Wed Apr 18, 2018 9:29 am
by alvesker

I am able to attach bug id from Mantis to test execution in Testlink via UI. Is there a way to do it automatically? There is an example client in Testlink code ( ... Sample.php):

private function reportResult($server_url, $tcaseid = null, $tcaseexternalid = null, $tplanid, $buildid = null,
$buildname = null, $status, $notes = null, $bugid = null, $debug = false)

So using this sample I am able to pass test execution results to testlink. But for some reason if I pass $bugid for existing issue in Mantis - I see no effect in testlink - it only passes status, notes etc