Red Hat uses it, but is gradually migrating its product to use Jira. Bugzilla is used, among others, by the Mozilla Foundation, WebKit, Linux kernel, FreeBSD, KDE, Apache, Eclipse and LibreOffice. Released as open-source software by Netscape Communications in 1998, it has been adopted by a variety of organizations for use as a bug tracking system for both free and open-source software and proprietary projects and products. BzAPI caches the output every time someone calls /configuration (or the noflags variant) and will pass the data back to you without contacting Bugzilla if you say that it's OK to send cached data.Bugzilla is a web-based general-purpose bug tracking system and testing tool originally developed and used by the Mozilla project, and licensed under the Mozilla Public License. The cached_ok=1 parameter allows BzAPI to return cached data.However, you will not be able to add new flags to bugs or attachments without this info. The flags=0 parameter removes flag-related information from the config because flags can be enabled or disabled per-component, there is a lot of flag-related info and so this cuts down the size significantly.Example: user This call requires Bugzilla 3.4 or above.A later release of BzAPI will have a way of asking for results which include disabled users. In Bugzilla 4.0 and above, only enabled (non-disabled) users will be returned.This call requires Bugzilla 3.4 or above.Examples: not possible as this API requires the user to be logged in."match" parameter with string to match against either name or real_name.To make unconditional updates (be careful!) simply do not supply a last_change_time. To make this call check for conflicts, submit the last_change_time you received when getting the attachment data.If there is a conflict, conflict resolution must be implemented by the client re-GETting the resource, resolving the conflict and re-PUTting the resolved version. If you do not, it will unconditionally update the bug to the state you send. If you pass a last_change_time, this call will check for editing conflicts.To get this token, retrieve the attachment data first. This is a security token used by the web interface to prevent people's browsers being exploited to make unwanted changes. Updating an attachment fails if you don't supply a value for 'token'.Update attachment metadata (/attachment/ PUT) Examples: attachment 235466, attachment 386129 with attachment data.attachmentdata=1 does the obvious thing (it's a shorthand for "include_fields=_default,data,encoding").You can't set the same (multi-settable) flag twice on a single attachment submission.You can't set is_obsolete on a new attachment submission.Examples: bug 500004 attachments, bug 350001 attachments with data.Ĭreate new attachment (/bug//attachment POST)Ģ01 Created status code, Location header pointing to new object.In other words, a Bug with only the attachments field. Search parameters, as above (except quicksearch - sorry), plus zero or more of x_axis_field, y_axis_field and z_axis_field.Ĭounts of bugs, as a scalar, 1D, 2D or 3D array depending on how many axis_field parameters you specified. You can use include_fields to get more, and if you specify "include_fields=_all", you will get everything. By default, the fields returned are those in bold on the Search page.Examples: all P1 blockers in the Bugzilla product, all bugs changed in the last hour.But if supporting this becomes difficult, it might go away.) (At the moment, it does also support the field names from the web interface, to make it easy to port URLs and other code across. Search parameters, exactly as powerful as query.cgi but using the field names from the Bug object rather than those from the web interface. ![]() ![]() 2.4 Update attachment metadata (/attachment/ PUT).2.3 Retrieve attachment (/attachment/ GET).2.2 Create new attachment (/bug//attachment POST).2.1 List attachments for bug (/bug//attachment GET).1.9 List flags for bug (/bug//flag GET).1.8 List history for bug (/bug//history GET).1.7 Add new comment to bug (/bug//comment POST).1.6 List comments for bug (/bug//comment GET).
0 Comments
Leave a Reply. |