[python-bugzilla] New bug using custom fields
Arun Babu Neelicattu
abn at redhat.com
Tue Sep 2 00:28:00 UTC 2014
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
>
More information about the python-bugzilla
mailing list