<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hello Arun,<br><br>I've modified bin/bugzilla file using the commit you gave me and it works like a charm! <br><br>Thank you so much,<br><br>Jaime<br><br><div>> Date: Mon, 1 Sep 2014 20:28:00 -0400<br>> From: abn@redhat.com<br>> To: silver_james@msn.com<br>> CC: python-bugzilla@lists.fedorahosted.org<br>> Subject: Re: [python-bugzilla] New bug using custom fields<br>> <br>> Hello Jaime,<br>> <br>> The version in master supports the --field option [1] for the new command. You could try using that, in your case,<br>> <br>> --field=cf_hostname=xyz<br>> <br>> Hope that helps.<br>> <br>> -arun<br>> <br>> [1] https://git.fedorahosted.org/cgit/python-bugzilla.git/commit/?id=0aea1631225030145c9d9d1e5317e0f38c4558db<br>> <br>> ----- Original Message -----<br>> > From: "Jaime Gómez del Pulgar Ruano" <silver_james@msn.com><br>> > To: python-bugzilla@lists.fedorahosted.org<br>> > Sent: Monday, September 1, 2014 8:09:02 PM<br>> > Subject: [python-bugzilla] New bug using custom fields<br>> > <br>> > Hello everyone!<br>> > <br>> > First of all, I apologize for my English level<br>> > <br>> > I'm using python-bugzilla to create bugs.It has been working properly, but<br>> > now I have to add a custom field named "hostname" to the Bugzilla server and<br>> > I don't achieve that python-bugzilla stores data in that field.<br>> > <br>> > I always get this message:<br>> > <br>> > File "/usr/bin/bugzilla", line 332, in <module><br>> > main()<br>> > File "/usr/bin/bugzilla", line 328, in main<br>> > buglist = _do_new(bz, opt)<br>> > File "/usr/bin/bugzilla", line 231, in _do_new<br>> > sub_component=opt.sub_component or None,<br>> > TypeError: build_createbug() got an unexpected keyword argument 'cf_hostname'<br>> > <br>> > <br>> > What is the best way to modify the program and add my request?<br>> > <br>> > Thank you<br>> >                                            <br>> > _______________________________________________<br>> > python-bugzilla mailing list<br>> > python-bugzilla@lists.fedorahosted.org<br>> > https://lists.fedorahosted.org/mailman/listinfo/python-bugzilla<br>> > <br></div>                                            </div></body>
</html>