Bugzilla REST API

Hi,

I am using the REST API (https://wiki.mozilla.org/Bugzilla:REST_API) to get all the bugs from a specific product.  However, I only get the first 10,000 bugs.  

Is there any parameter that I can pass to the REST API to get ALL the bugs?  Does anyone know why there is this restriction?

Thank you,
Clara
0
ciforeros
6/3/2019 2:51:42 AM
mozilla.support.bugzilla 10095 articles. 0 followers. Post Follow

2 Replies
67 Views

Similar Articles

[PageSpeed] 45

Guten Tag ciforeros@gmail.com,
am Montag, 3. Juni 2019 um 04:51 schrieben Sie:

> Is there any parameter that I can pass to the REST API to get ALL
> the bugs?

As long as the search order is stable, "limit" and "offset" should do
the trick:

https://bugzilla.readthedocs.io/en/5.0/api/core/v1/bug.html#search-bugs

The limit itself is controlled by admins:

https://bugzilla.readthedocs.io/en/5.0/administering/parameters.html#query-=
defaults

> Does anyone know why there is this restriction?

Most likely because of perfomance, maybe even security reasons, so
that people can't DoS your Bugzilla too easy etc.

Mit freundlichen Gr=FC=DFen,

Thorsten Sch=F6ning

--=20
Thorsten Sch=F6ning       E-Mail: Thorsten.Schoening@AM-SoFT.de
AM-SoFT IT-Systeme      http://www.AM-SoFT.de/

Telefon...........05151-  9468- 55
Fax...............05151-  9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Gesch=E4ftsf=FChrer: Andreas Muchow

0
windows
6/3/2019 6:00:11 AM
On Monday, 3 June 2019 02:00:23 UTC-4, Thorsten Sch=C3=B6ning  wrote:
> Guten Tag=20
> am Montag, 3. Juni 2019 um 04:51 schrieben Sie:
>=20
> > Is there any parameter that I can pass to the REST API to get ALL
> > the bugs?
>=20
> As long as the search order is stable, "limit" and "offset" should do
> the trick:
>=20
> https://bugzilla.readthedocs.io/en/5.0/api/core/v1/bug.html#search-bugs
>=20
> The limit itself is controlled by admins:
>=20
> https://bugzilla.readthedocs.io/en/5.0/administering/parameters.html#quer=
y-defaults
>=20
> > Does anyone know why there is this restriction?
>=20
> Most likely because of perfomance, maybe even security reasons, so
> that people can't DoS your Bugzilla too easy etc.
>=20
> Mit freundlichen Gr=C3=BC=C3=9Fen,
>=20
> Thorsten Sch=C3=B6ning
>=20
> --=20
> Thorsten Sch=C3=B6ning     =20
> AM-SoFT IT-Systeme      http://www.AM-SoFT.de/
>=20
> Telefon...........05151-  9468- 55
> Fax...............05151-  9468- 88
> Mobil..............0178-8 9468- 04
>=20
> AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
> AG Hannover HRB 207 694 - Gesch=C3=A4ftsf=C3=BChrer: Andreas Muchow

The links and all the information you provided were very useful.  Thank you=
 very much.
Clara
0
ciforeros
6/10/2019 1:55:33 AM
Reply: