Changes

Jump to: navigation, search

Bugzilla:BzAPI

105 bytes added, 10:19, 17 October 2011
no edit summary
Older pages in this wiki document released versions of BzAPI.
===Version 0.8 9 (14th November 20102nd February 2011)===
* [https://wiki.mozilla.org/index.php?title=Bugzilla:REST_API&oldid=267570 281694 Overview]* [https://wiki.mozilla.org/index.php?title=Bugzilla:REST_API:Methods&oldid=267566 281673 API Methods]** [https://wiki.mozilla.org/index.php?title=Bugzilla:REST_API:Search&oldid=189990 281682 Parameters for the Search method]* [https://wiki.mozilla.org/index.php?title=Bugzilla:REST_API:Objects&oldid=267569 281684 Objects sent and received]
** [https://wiki.mozilla.org/index.php?title=Bugzilla:REST_API:Objects:Configuration&oldid=265440 The Configuration object]
* [https://wiki.mozilla.org/index.php?title=Bugzilla:REST_API:HowTo&oldid=267568 281685 Tips, tricks and code samples]
===Version 1.0.9 (2nd February 17th October 2011)===
* [https://wiki.mozilla.org/index.php?title=Bugzilla:REST_API&oldid=281694 Overview]
Main Mozilla server (https://bugzilla.mozilla.org/):
[https://api-dev.bugzilla.mozilla.org/1.0.9/ https://api-dev.bugzilla.mozilla.org/1.0.9/]
[https://api-dev.bugzilla.mozilla.org/latest/ https://api-dev.bugzilla.mozilla.org/latest/]
Testing server (http://landfill.bugzilla.org/bzapi_sandbox/):
[https://api-dev.bugzilla.mozilla.org/test/1.0.9/ https://api-dev.bugzilla.mozilla.org/test/1.0.9/]
[https://api-dev.bugzilla.mozilla.org/test/latest/ https://api-dev.bugzilla.mozilla.org/test/latest/]
* the <b>latest</b> stable 3.4.x, 3.6.x or 4.0.x point release of Bugzilla (many features will not work on 3.2); and
* to be using UTF-8 (this is the default on new installations); and
* to have the necessary optional modules for XML-RPC (e.g. Test::Taint); and* to apply the patches noted below.
Then, install a copy of the API software - it does not have to be on the same machine. See the INSTALL file in the repository for some installation hints; feel free to send me tips from your experience.
BZ::Client Catalyst::Plugin::Log::Handler
===Required Extension and/or Patch(or Patcheses)=== There are two changes you need to make.
Even the latest stable release of Bugzilla requires a little modification to work properly with the BzAPI. Unfortunately, it is not possible to support all the necessary functionality without some changes to Bugzilla itself, which the Bugzilla team have declined to take.
So, firstly, for Bugzilla 3.6 and above, there is a Bugzilla Extension which adds the necessary functionality. Find it in <tt>$BZAPI_HOME/extension</tt>; copy the <tt>BzAPI</tt> directory from there into <tt>$BUGZILLA_HOME/extensions</tt>.
If you are on 3.4 or below, you need a patch and a template. These are shipped in the BzAPI distribution, in the <tt>patches</tt> directory, from version 0.8 onwards. See the INSTALL file for details.
AlsoSecondly, if you are using non-ASCII characters at all, you need to patch the BZ::Client module, which has an encoding bug. The patch for that is also in the <tt>patches</tt> directory.
Accountapprovers, antispam, confirm, emeritus
4,925
edits

Navigation menu