write xmlrpc function getBugFields that is to be contributed to the upstream. Please refer to the following url for details on Bugzilla::RPC 2.18 functions mapped to upstream Bugzilla::WebService and for 2.18 xmlrpc functions sorted by percentage of calls: https://engineering.redhat.com/trac/bugzilla-3.0-rh/wiki/XmlrpcCrossComparison#a2.18xmlrpcfunctionssortedbypercentageofcalls
This function has already been ported.
reopening, I guess will need to add it to the 3.2 WebService API if it is needed. Noura
Hey Dave, I see you have ported the xmlrpc function getBugFields from bz2.18 to bz3.2 extension compat_xmlrpc, do you think we should create this function in the actual WebService API interface say we would have it as Bug.get_fields ? Noura
(In reply to comment #3) > Hey Dave, > > I see you have ported the xmlrpc function getBugFields from bz2.18 to bz3.2 > extension compat_xmlrpc, do you think we should create this function in the > actual WebService API interface say we would have it as Bug.get_fields ? > > Noura Yes I think it would be a good idea to convert or duplicate this feature in the 3.2 API. Let me know if you want to take this on or if you need me to look at it. Thanks Dave
hey Dave, it should be fine i can this one :). Thanks, Noura
Created attachment 330975 [details] v1 for xmlrpc function Bug.get_fields + pod attached a patch for new xmlrpc functions called Bug.get_fields it besically does the same as the current webservice extension function bugzilla.getBugFields, i have removed the group checking for the custom fields as all that is done in Bugzilla->get_fields() in the filter_custom_fields hook. Noura
Comment on attachment 330975 [details] v1 for xmlrpc function Bug.get_fields + pod Looks good Noura. Works too. Dave
Thanks for the review Dave, committed to cvs. Noura