top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Get all fields from bugzilla rest API

0 votes
415 views

I'm trying to get ALL fields from bugzilla using the rest API. Although, I didn't find any simple way of doing that.

I saw that I can get the "all simple fields" using:
https://bugzilla.mozilla.org/rest/bug/35?include_fields=_all

and than get the history using:
https://bugzilla.mozilla.org/rest/bug/707428/history

and finally get the comments using:
https://bugzilla.mozilla.org/rest/bug/707428/comment

But, is there any way of getting all these fields (all_fields + history + comments ) using only one request?

posted May 2, 2016 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Doesn't seem so, but you could have a look at the available hooks processed during a web service request and consider writing a custom extension providing your logic.

https://bugzilla.readthedocs.io/en/5.0/integrating/extensions.html

Some parts of the docs seem to be unavailable currently, especially the list with the hooks, so search for "Bugzilla::Hook::process" in the BugzillaWebService folder.

answer May 2, 2016 by Abhay Kulkarni
Similar Questions
+3 votes

I am using bugzilla version 4.4.2 and I need some additional fields in when I try to Change Several Bugs at Once.

At the moment i need the fields "Tags" and "Deadline " when I try to Change Several Bugs at Once. But the fields are not available.

+1 vote

On the filling bug pages there are several fields that is not necessary for our project. I'm wondering if we
can hide or remove them? such as Deadline, URL, OS,hardware.

+3 votes

(with Add-on or directly with BugZilla)

+1 vote

I have an account on Bugzilla and not getting notification mail from Bugzilla from last one month.

It is very hard to track the issue without getting the notification/update on the bug. That causes delay in response to the clients also it affect our business.

All my colleague are getting proper notification from Bugzilla.

Any pointer?

...