Re: Use Bugzilla REST API to Insert Existing Product "Version"
Dave Miller <[email protected]> Mon, 24 Feb 2025 19:54:33 -0500
| Newsgroups | gmane.comp.mozilla.devel.webtools |
|---|---|
| Message-ID | <[email protected]> |
--===============7660960639603318928==
Content-Type: multipart/alternative;
boundary=----FI7VR9O2OKHTPSRTIULVL9UUAZQ8PM
Content-Transfer-Encoding: 7bit
------FI7VR9O2OKHTPSRTIULVL9UUAZQ8PM
Content-Type: text/plain;
charset=utf-8
Content-Transfer-Encoding: quoted-printable
A version is its own object type=2E=20
https://bugzilla=2Ereadthedocs=2Eio/en/latest/integrating/api/Bugzilla/Ver=
sion=2Ehtml
You can create a new version there by passing the version name and the ID =
of the product to attach it to=2E
The function docs look like they're missing, but it's in the example at th=
e top=2E
On February 24, 2025 7:11:03 PM EST, David Wright <David_Wright@phoenix=2E=
com> wrote:
>Hello,
>
>We are trying to Automate insertion of a Product "Version" instead of hav=
ing to do it manually=2E
>
>According to the Bugzilla API manual, this does not seem to be an option =
for UPDATING, only CREATING a new product=2E
>https://bugzilla=2Ereadthedocs=2Eio/en/latest/integrating/api/Bugzilla/We=
bService/Product=2Ehtml
>
>But maybe we are looking at the wrong documenation or misunderstanding=2E
>
>Is there any way we can use the Bugzilla REST API to insert a new version=
for an existing product?
>
>This is the current manual process:
>
>[cid:image001=2Epng@01DB86D6=2EB2CD1670]
>
>[cid:image002=2Epng@01DB86D6=2EB2CD1670]
>
>Thanks,
>David Wright
>Phoenix Technologies
>
>
>
--=20
Sent from my Android phone with K-9 Mail=2E Please excuse my brevity=2E
------FI7VR9O2OKHTPSRTIULVL9UUAZQ8PM
Content-Type: text/html;
charset=utf-8
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:x=3D"urn:schemas-microsoft-com:office:excel" xmlns:dt=3D"uuid:C2F4101=
0-65B3-11d1-A29F-00AA00C14882" xmlns:m=3D"http://schemas=2Emicrosoft=2Ecom/=
office/2004/12/omml" xmlns=3D"http://www=2Ew3=2Eorg/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii=
">
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
=2Eshape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:PMingLiU;
panose-1:2 1 6 1 0 1 1 1 1 1;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Aptos;}
@font-face
{font-family:"\@PMingLiU";
panose-1:2 1 6 1 0 1 1 1 1 1;}
/* Style Definitions */
p=2EMsoNormal, li=2EMsoNormal, div=2EMsoNormal
{margin:0in;
font-size:12=2E0pt;
font-family:"Aptos",sans-serif;}
a:link, span=2EMsoHyperlink
{mso-style-priority:99;
color:#467886;
text-decoration:underline;}
span=2EEmailStyle18
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
=2EMsoChpDefault
{mso-style-type:export-only;
font-size:10=2E0pt;
mso-ligatures:none;}
@page WordSection1
{size:8=2E5in 11=2E0in;
margin:1=2E0in 1=2E0in 1=2E0in 1=2E0in;}
div=2EWordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"#467886" vlink=3D"#96607D" style=3D"word-wrap=
:break-word"><div dir=3D"auto">A version is its own object type=2E <br><br>=
<a href=3D"https://bugzilla=2Ereadthedocs=2Eio/en/latest/integrating/api/Bu=
gzilla/Version=2Ehtml">https://bugzilla=2Ereadthedocs=2Eio/en/latest/integr=
ating/api/Bugzilla/Version=2Ehtml</a><br><br>You can create a new version t=
here by passing the version name and the ID of the product to attach it to=
=2E<br><br>The function docs look like they're missing, but it's in the exa=
mple at the top=2E</div><br><br><div class=3D"gmail_quote"><div dir=3D"auto=
">On February 24, 2025 7:11:03 PM EST, David Wright <David_Wright@phoeni=
x=2Ecom> wrote:</div><blockquote class=3D"gmail_quote" style=3D"margin: =
0pt 0pt 0pt 0=2E8ex; border-left: 1px solid rgb(204, 204, 204); padding-lef=
t: 1ex;">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11=2E0pt;font-family:"=
;Calibri",sans-serif">Hello,
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11=2E0pt;font-family:"=
;Calibri",sans-serif"><o:p> </o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11=2E0pt;font-family:"=
;Calibri",sans-serif">We are trying to Automate insertion of a Product=
=E2=80=9CVersion=E2=80=9D instead of having to do it manually=2E
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11=2E0pt;font-family:"=
;Calibri",sans-serif"><br>
According to the Bugzilla API manual, this does not seem to be an option f=
or UPDATING, only CREATING a new product=2E
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11=2E0pt;font-family:"=
;Calibri",sans-serif"><a href=3D"https://bugzilla=2Ereadthedocs=2Eio/e=
n/latest/integrating/api/Bugzilla/WebService/Product=2Ehtml">https://bugzil=
la=2Ereadthedocs=2Eio/en/latest/integrating/api/Bugzilla/WebService/Product=
=2Ehtml</a><o:p></o:p></span></p>
<table class=3D"MsoNormalTable" border=3D"0" cellspacing=3D"0" cellpadding=
=3D"0" width=3D"700" style=3D"width:525=2E0pt">
<tbody>
<tr>
<td valign=3D"top" style=3D"padding:1=2E5pt 1=2E5pt 1=2E5pt 1=2E5pt">
<p class=3D"MsoNormal"><span style=3D"font-family:"Calibri",sans=
-serif;mso-ligatures:standardcontextual"><o:p> </o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:"Calibri",sans=
-serif;mso-ligatures:standardcontextual">But maybe we are looking at the wr=
ong documenation or misunderstanding=2E
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:"Calibri",sans=
-serif;mso-ligatures:standardcontextual"><o:p> </o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:"Calibri",sans=
-serif;mso-ligatures:standardcontextual">Is there any way we can use the Bu=
gzilla REST API to insert a new version for an
<b>existing</b> product?<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:"Calibri",sans=
-serif;mso-ligatures:standardcontextual"><o:p> </o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:"Calibri",sans=
-serif;mso-ligatures:standardcontextual">This is the current manual process=
:<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:"Calibri",sans=
-serif;mso-ligatures:standardcontextual"><o:p> </o:p></span></p>
<p class=3D"MsoNormal"><img border=3D"0" width=3D"921" height=3D"66" style=
=3D"width:9=2E5937in;height:=2E6875in" id=3D"_x0000_i1026" src=3D"cid:image=
001=2Epng@01DB86D6=2EB2CD1670"><span style=3D"font-family:"Calibri&quo=
t;,sans-serif;mso-ligatures:standardcontextual"><o:p></o:p></span></p>
</td>
</tr>
<tr>
<td valign=3D"top" style=3D"padding:1=2E5pt 1=2E5pt 1=2E5pt 1=2E5pt">
<p class=3D"MsoNormal"><span style=3D"font-family:"Calibri",sans=
-serif;mso-ligatures:standardcontextual"><o:p> </o:p></span></p>
</td>
</tr>
<tr style=3D"height:7=2E5pt">
<td valign=3D"top" style=3D"padding:1=2E5pt 1=2E5pt 1=2E5pt 1=2E5pt;height=
:7=2E5pt">
<p class=3D"MsoNormal"><img border=3D"0" width=3D"342" height=3D"117" styl=
e=3D"width:3=2E5625in;height:1=2E2187in" id=3D"Picture_x0020_1" src=3D"cid:=
image002=2Epng@01DB86D6=2EB2CD1670"><span style=3D"font-family:"Calibr=
i",sans-serif;mso-ligatures:standardcontextual"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:"Calibri",sans=
-serif;mso-ligatures:standardcontextual"><o:p> </o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:"Calibri",sans=
-serif;mso-ligatures:standardcontextual">Thanks,
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:"Calibri",sans=
-serif;mso-ligatures:standardcontextual">David Wright<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:"Calibri",sans=
-serif;mso-ligatures:standardcontextual">Phoenix Technologies<o:p></o:p></s=
pan></p>
</td>
</tr>
<tr>
<td valign=3D"top" style=3D"padding:1=2E5pt 1=2E5pt 1=2E5pt 1=2E5pt">
<p class=3D"MsoNormal"><span style=3D"font-size:10=2E0pt;font-family:"=
;Calibri",sans-serif;mso-ligatures:standardcontextual"><o:p> </o:=
p></span></p>
</td>
</tr>
</tbody>
</table>
<p class=3D"MsoNormal"><span style=3D"font-size:11=2E0pt;font-family:"=
;Calibri",sans-serif;mso-ligatures:standardcontextual"><o:p> </o:=
p></span></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
</div>
</blockquote></div><div dir=3D"auto"><div class=3D'k9mail-signature'>-- <b=
r>Sent from my Android phone with K-9 Mail=2E Please excuse my brevity=2E</=
div></div></body>
</html>
------FI7VR9O2OKHTPSRTIULVL9UUAZQ8PM--
--===============7660960639603318928==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
support-list mailing list
[email protected]
https://lists.bugzilla.org/listinfo/support-list
--===============7660960639603318928==--