Re: Need help
Renata Ghisloti Duarte de Souza Granha <[email protected]> Fri, 4 May 2018 22:39:20 -0500
| Newsgroups | gmane.comp.bug-tracking.bugzilla.devel |
|---|---|
| Message-ID | <CA+b6j+aKNhEESkDmYy-2n_1-0-0Xt4biznr5zmsKqXSdDfeZAA@mail.gmail.com> |
--0000000000009ae354056b6d2e68 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I created a script using XMLRPC a couple of years ago that helped me. See if this is something that can help you too: https://github.com/renataghisloti/Bugzilla-XMLRPC-scripts/blob/master/bugz_= create_bugs.pl Renata. On Fri, May 4, 2018 at 5:26 PM, Nikolay Mishin <[email protected]> wrote: > Emma, do you want that I made rest client on java for Bugzilla? > I can. Or I don' understand at all. How fast? > > 04.05.2018, 22:14, "Emma Humphries" <[email protected]>: > > Please see: > > https://bugzilla.readthedocs.io/en/latest/api/core/v1/genera=E2=80=A6 > <https://bugzilla.readthedocs.io/en/latest/api/core/v1/general.html#basic= -information> > https://bugzilla.readthedocs.io/en/latest/api/core/v1/genera=E2=80=A6 > <https://bugzilla.readthedocs.io/en/latest/api/core/v1/general.html#authe= ntication> > https://bugzilla.readthedocs.io/en/latest/api/core/v1/bug.ht=E2=80=A6 > <https://bugzilla.readthedocs.io/en/latest/api/core/v1/bug.html#create-bu= g> > > I recommend using a revocable API key to authenticate to your instance > rather than sending credentials in the request. > > If you are creating a tool to file bugs on bugzilla.mozilla.org, Dylan > Hardison and I will want to review your code, also the content of bugs yo= u > create must abide Mozilla's Community Participation Guidelines. > > Emma Humphries > Bugmaster, Firefox EPM Org > Mozilla Corporation > > > On Wed, Apr 18, 2018 at 10:21 AM vicky vicky <[email protected] > <http:///touch/compose?to=3Dvickyy.may29-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>> wrote: > > Hi .needs help > > Need to create a bug in bugzilla by hitting its restfull service using ja= va > or restclient. > _______________________________________________ > dev-apps-bugzilla mailing list > dev-apps-bugzilla-CzyLcWPZiU5YsZ3hbOqMTti2O/[email protected] > <http:///touch/compose?to=3Ddev-apps-bugzilla-CzyLcWPZiU5YsZ3hbOqMTti2O/[email protected]> > https://lists.mozilla.org/listinfo/dev-apps-bugzilla > > > > -- > Best regards > Nikolay Mishin > > > --0000000000009ae354056b6d2e68 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">I created a script using XMLRPC a couple of years ago that= helped me.<div><br><div>See if this is something that can help you too:</d= iv><div><br></div><div><a href=3D"https://github.com/renataghisloti/Bugzill= a-XMLRPC-scripts/blob/master/bugz_create_bugs.pl">https://github.com/renata= ghisloti/Bugzilla-XMLRPC-scripts/blob/master/bugz_create_bugs.pl</a><br></d= iv></div><div><br></div><div>Renata.</div></div><div class=3D"gmail_extra">= <br><div class=3D"gmail_quote">On Fri, May 4, 2018 at 5:26 PM, Nikolay Mish= in <span dir=3D"ltr"><<a href=3D"mailto:[email protected]" target=3D"_blank">mi@y= a.ru</a>></span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"ma= rgin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Emma, do you w= ant that I made rest client on java for Bugzilla?=C2=A0<div>I can. Or I don= ' understand at all. How fast?=C2=A0<br><br><div>04.05.2018, 22:14, &qu= ot;Emma Humphries" <<a href=3D"mailto:[email protected]" target=3D"_= blank">[email protected]</a>>:</div><blockquote type=3D"cite"><div><div d= ir=3D"ltr"><div style=3D"font-family:arial,helvetica,sans-serif">Please see= :</div><div style=3D"font-family:arial,helvetica,sans-serif"><br></div><div= style=3D"font-family:arial,helvetica,sans-serif"><a href=3D"https://bugzil= la.readthedocs.io/en/latest/api/core/v1/general.html#basic-information" rel= =3D"noopener noreferrer" target=3D"_blank">https://bugzilla.readthedocs.<wb= r>io/en/latest/api/core/v1/<wbr>genera=E2=80=A6</a><br></div><div style=3D"= font-family:arial,helvetica,sans-serif"><a href=3D"https://bugzilla.readthe= docs.io/en/latest/api/core/v1/general.html#authentication" rel=3D"noopener = noreferrer" target=3D"_blank">https://bugzilla.readthedocs.<wbr>io/en/lates= t/api/core/v1/<wbr>genera=E2=80=A6</a></div><div style=3D"font-family:arial= ,helvetica,sans-serif"><a href=3D"https://bugzilla.readthedocs.io/en/latest= /api/core/v1/bug.html#create-bug" rel=3D"noopener noreferrer" target=3D"_bl= ank">https://bugzilla.readthedocs.<wbr>io/en/latest/api/core/v1/bug.<wbr>ht= =E2=80=A6</a></div><span class=3D""><div style=3D"font-family:arial,helveti= ca,sans-serif"><br></div><div style=3D"font-family:arial,helvetica,sans-ser= if">I recommend using a revocable API key to authenticate to your instance = rather than sending credentials in the request. <br></div><div style=3D"fon= t-family:arial,helvetica,sans-serif"><br></div><div style=3D"font-family:ar= ial,helvetica,sans-serif">If you are creating a tool to file bugs on <a hre= f=3D"http://bugzilla.mozilla.org/" rel=3D"noopener noreferrer" target=3D"_b= lank">bugzilla.mozilla.org</a>, Dylan Hardison and I will want to review yo= ur code, also the content of bugs you create must abide Mozilla's Commu= nity Participation Guidelines. <br></div><div style=3D"font-family:arial,he= lvetica,sans-serif"><br></div><div style=3D"font-family:arial,helvetica,san= s-serif">Emma Humphries</div><div style=3D"font-family:arial,helvetica,sans= -serif">Bugmaster, Firefox EPM Org<br></div><div style=3D"font-family:arial= ,helvetica,sans-serif">Mozilla Corporation<br></div><div style=3D"font-fami= ly:arial,helvetica,sans-serif"><br></div></span></div><span class=3D""><br>= <div dir=3D"ltr">On Wed, Apr 18, 2018 at 10:21 AM vicky vicky <<a href= =3D"http:///touch/compose?to=3Dvickyy.may29-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" target=3D"_blank">vi= [email protected]</a>> wrote:<br></div><blockquote style=3D"margin:0 = 0 0 0.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi .needs help<br> <br> Need to create a bug in bugzilla by hitting its restfull service using java= <br> or restclient.<br> ______________________________<wbr>_________________<br> dev-apps-bugzilla mailing list<br> <a href=3D"http:///touch/compose?to=3Ddev-apps-bugzilla-CzyLcWPZiU5YsZ3hbOqMTti2O/[email protected]" = target=3D"_blank">dev-apps-bugzilla@lists.<wbr>mozilla.org</a><br> <a href=3D"https://lists.mozilla.org/listinfo/dev-apps-bugzilla" rel=3D"noo= pener noreferrer" target=3D"_blank">https://lists.mozilla.org/<wbr>listinfo= /dev-apps-bugzilla</a><br> </blockquote></span></div></blockquote><span class=3D"HOEnZb"><font color= =3D"#888888"><div><br></div><div><br></div><div><div>-- <br>Best regards=C2= =A0</div><div>Nikolay Mishin=C2=A0</div><div>=C2=A0</div></div><div><br></d= iv></font></span></div></blockquote></div><br></div> --0000000000009ae354056b6d2e68--