Update testresults with mantis bug id automatically

Discussion and information for XML-RPC interface.

Moderators: Amaradana, TurboPT, TL Developers

Update testresults with mantis bug id automatically

Postby alvesker » Wed Apr 18, 2018 9:29 am

Hi,

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 (https://github.com/TestLinkOpenSourceTR ... 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
alvesker
TestLink user
 
Posts: 4
Joined: Tue Feb 06, 2018 7:19 pm

Return to XML-RPC API



Who is online

Users browsing this forum: No registered users and 1 guest