#!/usr/bin/env python import xmlrpclib bugzillaURL="https://mcepl@redhat.com:kyrios@bugzilla.redhat.com/bugzilla/xmlrpc.cgi" proxy = xmlrpclib.ServerProxy(bugzillaURL) mybugValues={'product':'Bugzilla', 'component':'Test', 'version':'2.18', 'op_sys':'Linux', 'rep_platform':'All', 'bug_severity':'low', 'priority':'low', 'short_desc':'test xml-rpc from Python', 'bug_file_loc':'', 'comment':"""This is just a testing bug, to find out how to file bugs with Python. Some more lines. """, 'assigned_to':'mcepl@redhat.com'} outstr=proxy.bugzilla.createBug(mybugValues,'mcepl@redhat.com','kyrios') print outstr[0] print outstr