Users are experiencing an issue where custom views do not correctly interpret or resolve the {user} variable within their underlying queries. This variable is crucial for dynamically filtering data based on the currently logged-in user's identity, such as displaying only records associated with that specific user. When {user} is included in a custom view's query, it fails to evaluate to the connected user's value, resulting in inaccurate or incomplete data being displayed, or the query failing entirely. This prevents the creation of personalized views and dashboards that adapt to the user accessing them.
Rally SAAS
Creating a query that shows User Stories owned by the currently logged-in user with an artifact status of either 'In-Progress' or 'Completed.'
The initial query shown below may have worked in APPS based on "APP SDK 2.1" like (Custom list & Custom list 2.0)
(((Owner = {user}) OR (Assignee = {user})) AND ((ScheduleState = "In-Progress") OR (ScheduleState = "Completed")))However, when using the Custom List Widget in Custom Views, the query must be corrected to the following format:
(((Owner = currentuser) OR (c_Assignee = currentuser)) AND ((ScheduleState = "In-Progress") OR (ScheduleState = "Completed")))These required changes are needed when user are trying to implement Query Dynamic Filtering in a widget: