[python-bugzilla] New bug using custom fields

Jaime Gómez del Pulgar Ruano silver_james at msn.com
Tue Sep 2 06:57:52 UTC 2014


Hello Arun,

I've modified bin/bugzilla file using the commit you gave me and it works like a charm! 

Thank you so much,

Jaime

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


More information about the python-bugzilla mailing list