Page 1 of 1

How to get Bug IDs attached to a testcase execution?

Posted: Tue Sep 16, 2014 9:42 am
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

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

Posted: Tue Sep 16, 2014 4:26 pm
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 ?

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

Posted: Tue Sep 16, 2014 10:09 pm
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

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

Posted: Wed Sep 17, 2014 5:20 am
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.