Open Bug 1951920 Opened 19 days ago

Webservice REST API user object returns real_name in get response but wants full_name in create/update

Categories

(Bugzilla :: WebService, defect)

defect

Tracking

()

People

(Reporter: justdave, Unassigned)

Details

Reported by Carlo Barrientos on the support list:

field names shouldn't change between creation and return of existing values. /rest/user uses real_name for the name of the user-set name field on a user object in responses, but it expects full_name for input any time you try to create or change it. It needs to be consistent and use the same name for the field everywhere it's used.

For backward compatibility: the response version needs to stay the same as real_name, but both versions need to work for input, and real_name should be the one documented, but continue to let full_name work under the hood in case of old scripts still using it.

You need to log in before you can comment on or make changes to this bug.