Help:Bugzilla Extension: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (→How to Use) |
||
Line 31: | Line 31: | ||
} | } | ||
</bugzilla> | </bugzilla> | ||
<bugzilla type="count" display="bar"> | |||
{ | |||
"product": ["Core","Calendar","Toolkit","Firefox", "Boot2Gecko", "Testing", "Thunderbird", "SeaMonkey"], | |||
"changed_after": "2000-01-01", | |||
"changed_before": "2013-02-01", | |||
"whiteboard": "[good first bug]", | |||
"status":["NEW","REOPENED"], | |||
"x_axis_field": "product" | |||
} | |||
</bugzilla> | |||
</pre> | </pre> |
Revision as of 20:42, 31 July 2013
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> <bugzilla type="count" display="bar"> { "product": ["Core","Calendar","Toolkit","Firefox", "Boot2Gecko", "Testing", "Thunderbird", "SeaMonkey"], "changed_after": "2000-01-01", "changed_before": "2013-02-01", "whiteboard": "[good first bug]", "status":["NEW","REOPENED"], "x_axis_field": "product" } </bugzilla>