How to get Bug IDs attached to a testcase execution?

Discussion and information for XML-RPC interface.

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
dokaspar
TestLink user
Posts: 4
Joined: Mon Nov 19, 2012 3:52 pm

How to get Bug IDs attached to a testcase execution?

Post by dokaspar »

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
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

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

Post by fman »

1. teslink version ?
2. all what you can do is documented inside the php file that implements the api.
have you given a look ?
dokaspar
TestLink user
Posts: 4
Joined: Mon Nov 19, 2012 3:52 pm

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

Post by dokaspar »

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
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

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

Post by fman »

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.
Post Reply