l.b.i.e.ISupportsBackLinking(IExternalBugTracker) : interface documentation

Part of lp.bugs.interfaces.externalbugtracker View In Hierarchy

No interface docstring
Method getLaunchpadBugId Return a Launchpad bug ID for a given remote bug.
Method setLaunchpadBugId Set the Launchpad bug ID for a bug on the remote bug tracker.

Inherited from IExternalBugTracker:

Method getExternalBugTrackerToUse Return the ExternalBugTracker instance to use.
Method getCurrentDBTime Return the current time of the bug tracker's DB server.
Method getModifiedRemoteBugs Return the bug ids that have been modified.
Method initializeRemoteBugDB Do any initialization before each bug watch is updated.
Method convertRemoteStatus Convert a remote status string to a BugTaskStatus item.
Method convertRemoteImportance Convert a remote importance to a BugTaskImportance item.
Method getRemoteProduct Return the remote product for a given remote bug.
def getLaunchpadBugId(remote_bug):
Return a Launchpad bug ID for a given remote bug.

The bug ID returned is that which the remote tracker has a record of after setLaunchpadBugId() has been called.

Return None if there is no recorded Launchpad bug ID for remote_bug.

Parametersremote_bugThe ID of the bug on the remote tracker from which to get the Launchpad bug ID.
def setLaunchpadBugId(remote_bug, launchpad_bug_id, launchpad_bug_url):
Set the Launchpad bug ID for a bug on the remote bug tracker.
Parametersremote_bugThe ID of the bug on the remote tracker on which to set the Launchpad bug ID.
launchpad_bug_idThe ID of the Launchpad bug that's watching the remote bug.
launchpad_bug_urlThe canonical URL of the bug in Launchpad.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.