Bug 427933

Summary: XMLRPC function getBugFields
Product: [Community] Bugzilla Reporter: Noura El hawary <nelhawar>
Component: WebServiceAssignee: Noura El hawary <nelhawar>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: high    
Version: 3.2CC: dkl
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-02-05 23:21:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 406131, 427053    
Attachments:
Description Flags
v1 for xmlrpc function Bug.get_fields + pod dkl: review+

Description Noura El hawary 2008-01-08 02:05:14 UTC
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

Comment 1 Noura El hawary 2008-11-27 07:18:06 UTC
This function has already been ported.

Comment 2 Noura El hawary 2008-11-27 07:20:50 UTC
reopening, I guess will need to add it to the 3.2 WebService API if it is needed.

Noura

Comment 3 Noura El hawary 2009-02-04 06:30:09 UTC
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

Comment 4 David Lawrence 2009-02-04 20:48:56 UTC
(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

Comment 5 Noura El hawary 2009-02-05 03:54:03 UTC
hey Dave, it should be fine i can this one :).

Thanks,
Noura

Comment 6 Noura El hawary 2009-02-05 09:30:27 UTC
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 7 David Lawrence 2009-02-05 22:21:42 UTC
Comment on attachment 330975 [details]
v1 for xmlrpc function Bug.get_fields + pod

Looks good Noura. Works too.

Dave

Comment 8 Noura El hawary 2009-02-05 23:21:03 UTC
Thanks for the review Dave, committed to cvs.

Noura