Part of lp.bugs.interfaces.webservice View In Hierarchy
Method | getBugData | Search bugtasks matching the specified criteria. |
Attribute | bug_count | The number of bugs recorded in Launchpad |
Attribute | bugwatch_count | The number of links to external bug trackers |
Attribute | bugtask_count | The number of bug tasks in Launchpad |
Attribute | projects_with_bugs_count | The number of products and distributions which have bugs in Launchpad. |
Attribute | shared_bug_count | The number of bugs that span multiple products and distributions |
Attribute | bugtracker_count | The number of bug trackers in Launchpad |
Attribute | top_bugtrackers | The BugTrackers with the most watches. |
Method | empty_list | Return an empty set - only exists to keep lazr.restful happy. |
Method | createBug | Create a bug (with an appropriate bugtask) and return it. |
Inherited from ILaunchpadApplication:
Attribute | title | Title |
Inherited from IHasBugs:
Method | searchTasks | Search the IBugTasks reported on this entity. |
Method | getBugTaskWeightFunction | Return a function that is used to weight the bug tasks. |
The only criteria currently supported is to search for a bugtask with the specified bug id.
Returns | a list of matching bugs represented as json data |
Create a bug (with an appropriate bugtask) and return it.
Things to note when using this factory:
- The reporter will be subscribed to the bug.
- Only people that the project shares with will see the bug when the bug's information type is Proprietary, Private, or Private Security.
Parameters | target | The Project, Distribution or DistributionSourcePackage affected by this bug. |
title | The title shown in bug listings. | |
description | The description of the issue. | |
information_type | Set the bug's information type to one different from the project's default. The type must conform to the project's bug sharing policy. (optional) | |
tags | A list of bug tags. (optional) | |
security_related | Is this bug's information type Private Security? (deprecated) | |
tags | Is this bug's information type Private user data. (deprecated) |