Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

get xml data from bugzilla url

Tags:

bugzilla

I am trying to get the xml data from the buglist.cgi file without success. After i have got the bugs I need in the form of xml displayed,

buglist.cgi?xyz_param=xyz_value&ctype=csv

gives me a csv of the values but,

buglist.cgi?xyz_param=xyz_value&ctype=xml

gives me this error

The requested format does not exist with a content type of xml.

However there is a small xml icon at the bottom of buglist page, when I click it , it generates an xml output that i want. Am I missing something here?

Bugzilla version : 3.4.3

Thanks Ravi

like image 632
Ravi Nankani Avatar asked May 24 '26 22:05

Ravi Nankani


1 Answers

Adding the query parameter ctype=rdf will give you xml formatted output for the query.

like image 105
Fredrik Jonson Avatar answered Jun 04 '26 21:06

Fredrik Jonson



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!