tcms.rpc.api.bug module¶
- tcms.rpc.api.bug.details(url, **kwargs)[source]¶
- RPC Bug.details(url)
Returns details about bug at the given URL address. This method is used when generating additional information which is shown in the UI.
- tcms.rpc.api.bug.report(execution_id, tracker_id, **kwargs)[source]¶
- RPC Bug.report(execution_id, tracker_id)
Returns a URL which will open the bug tracker with predefined fields indicating the error was detected by the specified TestExecution.
- Parameters:
execution_id (int) – PK for
tcms.testruns.models.TestExecution
objecttracker_id (int) – PK for
tcms.testcases.models.BugSystem
object**kwargs – Dict providing access to the current request, protocol, entry point name and handler instance from the rpc method
- Returns:
Success response with bug URL or failure message
- Return type: