l.b.i.b.IHasBugs(Interface) : interface documentation

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

Known subclasses: lp.bugs.interfaces.bugtarget.IBugTarget, lp.registry.interfaces.milestone.IMilestone, lp.registry.interfaces.person.IPersonPublic, lp.registry.interfaces.projectgroup.IProjectGroupPublic

Known implementations: lp.registry.model.milestone.Milestone

An entity which has a collection of bug tasks.
Attribute open_bugtasks A list of open bugTasks for this target.
Attribute closed_bugtasks A list of closed bugTasks for this target.
Attribute inprogress_bugtasks A list of in-progress bugTasks for this target.
Attribute high_bugtasks A list of high importance BugTasks for this target.
Attribute critical_bugtasks A list of critical BugTasks for this target.
Attribute new_bugtasks A list of New BugTasks for this target.
Attribute unassigned_bugtasks A list of unassigned BugTasks for this target.
Attribute all_bugtasks A list of all BugTasks ever reported for this target.
Attribute has_bugtasks True if a BugTask has ever been reported for this target.
Method searchTasks Search the IBugTasks reported on this entity.
Method getBugCounts Return a dict with the number of bugs in each possible status.
open_bugtasks =
A list of open bugTasks for this target.
closed_bugtasks =
A list of closed bugTasks for this target.
inprogress_bugtasks =
A list of in-progress bugTasks for this target.
high_bugtasks =
A list of high importance BugTasks for this target.
critical_bugtasks =
A list of critical BugTasks for this target.
new_bugtasks =
A list of New BugTasks for this target.
unassigned_bugtasks =
A list of unassigned BugTasks for this target.
all_bugtasks =
A list of all BugTasks ever reported for this target.
has_bugtasks =
True if a BugTask has ever been reported for this target.
@call_with(None, REQUEST_USER)
@operation_parameters()
@operation_returns_collection_of(IBugTask)
@export_read_operation()
@operation_removed_in_version('devel')
@call_with(None, REQUEST_USER)
@operation_parameters()
@operation_returns_collection_of(IBugTask)
@export_read_operation()
def searchTasks(search_params, user=None, order_by=None, search_text=None, status=None, importance=None, assignee=None, bug_reporter=None, bug_supervisor=None, bug_commenter=None, bug_subscriber=None, owner=None, affected_user=None, has_patch=None, has_cve=None, distribution=None, tags=None, tags_combinator=BugTagsSearchCombinator.ALL, omit_duplicates=True, omit_targeted=None, status_upstream=None, milestone_assignment=None, milestone=None, component=None, nominated_for=None, sourcepackagename=None, has_no_package=None, hardware_bus=None, hardware_vendor_id=None, hardware_product_id=None, hardware_driver_name=None, hardware_driver_package_name=None, hardware_owner_is_bug_reporter=None, hardware_owner_is_affected_by_bug=False, hardware_owner_is_subscribed_to_bug=False, hardware_is_linked_to_bug=False, linked_branches=None, structural_subscriber=None, modified_since=None):
Search the IBugTasks reported on this entity.

Return an iterable of matching results.

Note: milestone is currently ignored for all IBugTargets except IProduct.

In order to search bugs that are related to a given hardware device, you must specify the bus, the vendor ID, the product ID of the device and set at least one of hardware_owner_is_bug_reporter, hardware_owner_is_affected_by_bug, hardware_owner_is_subscribed_to_bug, hardware_is_linked_to_bug to True.

Unknown Field: search_paramsa BugTaskSearchParams object
def getBugCounts(user, statuses=None):
Return a dict with the number of bugs in each possible status.
Unknown Field: userOnly bugs the user has permission to view will be counted.
Unknown Field: statusesOnly bugs with these statuses will be counted. If None, all statuses will be included.
API Documentation for Launchpad, generated by pydoctor at 2010-09-27 00:00:11.