Created attachment 523134 [details] Product-choice hierarchy JSON object I am building a tool called Cockpit for Bugzilla users, and currently I'm currently hand-generating the JSON object in the attached file by manually ripping apart the server-generated variables found in the source of this page https://bugzilla.mozilla.org/query.cgi The query page has all these values on it, and uses them to populate the selects in the page dynamically based on which choices you make in product, component, etc. I would like to be able to call a method to get these values in some JSON format (doesn't have to be exactly like what I have attached) so that I am able to present an interface with the currently available choices for these parameters.
This information isn't on the /configuration call, then? Gerv
https://api-dev.bugzilla.mozilla.org/latest/configuration?cached_ok=1 Yep, as far as I can see, this info is all there. If it's not, reopen this bug. Did you not find this call when reading the BzAPI docs? If you have improvements to the documentation to suggest, I'm happy to hear them. Gerv
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → WORKSFORME
Yeah that totally works, I had looked at the configuration section but for some reason thought you had to pass it a product one at a time to get the rest of the data, didn't see this example call, makes perfect sense now! Thanks Gerv!
You need to log in before you can comment on or make changes to this bug.