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