Project

General

Profile

Actions

Patch #39181

closed

/users backwards API compatibility

Added by Jens Krämer over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Administration
Target version:
-

Description

#37674 changed the /users endpoint behavior by dropping support for the previously supported status and name URL parameters. This might break API clients that relied on these parameters. Further the functionality of the 'Name' filter, which allowed to do a combined search across users' name, email and login was lost for both API and Browser clients.

The attached patch that's been extracted from Planio introduces a new 'Name, email or login' query filter and maps the legacy 'name' URL parameter to this new filter. Also, a 'status' URL parameter will be mapped to a query on 'status_id' if present.


Files


Related issues

Related to Redmine - Feature #37674: Upgrade Admin/Users list to use the query systemClosedGo MAEDAActions
Related to Redmine - Defect #38165: Users API ignores name and group_id parameterClosedActions
Actions

Also available in: Atom PDF