How to get Bug IDs attached to a testcase execution?

Discussion and information for XML-RPC interface.

Moderators: Amaradana, TurboPT, TL Developers

How to get Bug IDs attached to a testcase execution?

Postby dokaspar » Tue Sep 16, 2014 9:42 am

Hi,

My Testlink project is configured with JIRA issue tracking support, so we can link executed test cases to JIRA issues. With this feature enabled, the Testlink GUI shows linked JIRA issues for a selected test execution.

I also figured out how to use reportTCResult() to report a test result and pass along a BugId, but I am unable to retrieve them again through the XML-RPC API.
How is it possible to retrieve a list of bugs/issues that are attached to a given testcase (or execution) through the XML-RPC API?

Greetings,
Dominik
dokaspar
TestLink user
 
Posts: 4
Joined: Mon Nov 19, 2012 3:52 pm

Re: How to get Bug IDs attached to a testcase execution?

Postby fman » Tue Sep 16, 2014 4:26 pm

1. teslink version ?
2. all what you can do is documented inside the php file that implements the api.
have you given a look ?
fman
Member of TestLink Community
 
Posts: 3010
Joined: Tue Nov 15, 2005 7:19 am

Re: How to get Bug IDs attached to a testcase execution?

Postby dokaspar » Tue Sep 16, 2014 10:09 pm

Hi fman,

Thanks for the quick answer.

1. The TestLink version is 1.9.10
2. Yes, I have checked the xmlrpc.class.php without much success. Is that the correct place to search?

Cheers,
Dominik
dokaspar
TestLink user
 
Posts: 4
Joined: Mon Nov 19, 2012 3:52 pm

Re: How to get Bug IDs attached to a testcase execution?

Postby fman » Wed Sep 17, 2014 5:20 am

You have to give a look to LATEST CODE
ON GITORIOUS (Branch 1,9).
Also search or Browse tickets on mantis.testlink.org for
Similar tivkets.
fman
Member of TestLink Community
 
Posts: 3010
Joined: Tue Nov 15, 2005 7:19 am


Return to XML-RPC API



Who is online

Users browsing this forum: No registered users and 2 guests