Page MenuHomePhabricator

Install Bugzilla API
Closed, ResolvedPublic

Description

Author: happy.melon.wiki

Description:
Now that we're back up to date with bugzilla, an API interface would be invaluable. Came across this need when trying to generate a list of most-duped bugs. See https://wiki.mozilla.org/Bugzilla:REST_API


Version: unspecified
Severity: enhancement

Details

Reference
bz22270

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:56 PM
bzimport set Reference to bz22270.

pdhanda wrote:

Done
https://bugzilla.wikimedia.org/bzapi

Let me know if you find issues :)
-p

Is there some documentation on this specific to Wikimedia? I wanted to recreate https://bugzilla.wikimedia.org/buglist.cgi?chfieldto=Now&query_format=advanced&order=Last%20Changed&chfieldfrom=-7d&bug_status=RESOLVED&resolution=FIXED as an API query, but all I get when I visit https://bugzilla.wikimedia.org/bzapi all I get is a HTTP 500 error. Probably some sort of noob error though :P

Indeed, something probably to look at investigating further post the BZ 4.0 update

Else, maybe some packages were not installed when BZ moved host..

Reopened, {No longer installed/Now Broken}.

mhershberger wrote:

just tested the xmlrpc endpoint (https://bugzilla.wikimedia.org/xmlrpc.cgi) and it worked. The jsonrpc endpoint (https://bugzilla.wikimedia.org/jsonrpc.cgi) is there and doing something, but doesn't appear to work.

JSON looks to be "working"

{"version":"1.1","error":{"name":"JSONRPCError","message":"For security reasons, you may only use JSON-RPC with the POST HTTP method.","code":32000}}

never mind, evidently it was my json client :(