write xmlrpc function nameToId 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
Created attachment 291689 [details] patch to Bugzilla/WebService/User.pm the patch contains 2 functions one to get login name from userid and one to get userid from login name, basically those 2 functions are similar to our xmlrpc functions in rh_bugzilla_2_18 nameToId and IdToName
we can discuss with the upstream if it is best to pass one login name of list of login names.
Created attachment 291952 [details] patch for WebService module that includes function login_to_id I created a bug for that in the upstream : https://bugzilla.mozilla.org/show_bug.cgi?id=412725 Attached is another version for the previous patch I changed it to accept a list of login names instead of a single login name. "please note that the patch also includes function for converting id to name"
please see: https://bugzilla.redhat.com/show_bug.cgi?id=427893#c4
This function and IdToName function will both be replaced by User.get() closing this bug as its work is just will be duplicate for function IdToName *** This bug has been marked as a duplicate of 427893 ***