Description
Division check was missing in query workitem when queueId was passed in filter. We have added division check for this scenario.
Change Category
API
Change Context
To make consistent behavior across TaskManagement API
Change Impact
Previously, when we passed queueId as a filter for POST /api/v2/taskmanagement/workitems/query, we did not validate that the user had access to the provided queue’s division. Users received an empty list if they didn’t have access to the queue’s division.
After this change, users will get a 403 error response instead of empty response if they don’t have access to the provided queue’s division.
Date of Change
Nov 08, 2023
Impacted APIs
POST /api/v2/taskmanagement/workitems/query
References
[WORKITEMS-1979]