Help:Bugzilla Extension: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Created page with "You use this extension in this way: <pre> <bugzilla> (JSON REST API query key/value pairs) </bugzilla> </pre> An example: <pre> <bugzilla> { "product": "Bugzilla"...")
 
No edit summary
Line 1: Line 1:
Please add code samples and any additional tips on usage here:
= How to Use =
You use this extension in this way:
You use this extension in this way:
<pre>
<pre>

Revision as of 21:24, 5 March 2012

Please add code samples and any additional tips on usage here:

How to Use

You use this extension in this way:

<bugzilla>
    (JSON REST API query key/value pairs)
</bugzilla>

An example:

<bugzilla>
    {
        "product": "Bugzilla",
        "priority":"P1"
    }
</bugzilla>

For more details on how to query in various ways, see the documentation for the Bugzilla REST API

Note that the tag name defaults to "bugzilla" but is configurable.

There is also exploratory support for charting:

<bugzilla type="count" display="bar">
    {
        "product":      "Bugzilla",
        "priority":     "P1",
        "x_axis_field": "severity"
    }
</bugzilla>