User:Clegnitto

From MozillaWiki
Jump to navigation Jump to search

Fields in media-wiki bugzilla

Field names are not what you see in the UI, read this: https://wiki.mozilla.org/index.php?title=Bugzilla:REST_API:Search&oldid=281682#Single_Value.2C_Multiplicable

To get the exact field name, look at the bug directly in the api. For example, https://api-dev.bugzilla.mozilla.org/latest/bug/35

An example

I want to see all the bugs with the "tracking-firefox21" flag set. I look at a bug, and see the field is "cf_tracking_firefox21". Then I put it between bugzilla tags (view page source to see). Remember, you can do a ton of stuff to the query, including showing fields (see https://github.com/mozilla/mediawiki-bugzilla).

Result:

Bugzilla query error

Array ( [type] => error [message] => http-bad-status [params] => Array ( [0] => 406 [1] => Not Acceptable ) ) 1