Status

Webtools
BzAPI
RESOLVED WONTFIX
7 years ago
7 years ago

People

(Reporter: gerv, Assigned: gerv)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

7 years ago
Joel Maher writes:

this was working for me yesterday:
https://api-dev.bugzilla.mozilla.org/latest/bug?quicksearch=620789&include_fields=id,summary,status

today it is returning html and a bugzilla error.  I assume something is wrong with bzapi?  

Let me know if this is something that is expected or unsupported.

-Joel
(Assignee)

Comment 1

7 years ago
The problem here is that when Bugzilla returns one bug for a quicksearch, it redirects to the bug's HTML page, ignoring the fact that we requested date as CSV. And, obviously, BzAPI can't interpret the HTML as CSV and barfs.

Quicksearch is not an API which is deterministic enough to use in this way. If and when BzAPI ever becomes part of Bugzilla, this might be possible, but as for now, if you want to use quicksearch syntax, make sure you return > 1 bug.

Gerv
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.