Preview API: Workitem query api change response from 500 to 400

Description

Currently, sending a request to the Workitem query API (currently in preview status) with missing list of filters or missing filter attributes (name, operator, type or values) throws a generic 500 error.

After this change, that request will throw a 400 response with a message containing detailed information about the problem.

Change Category

API

Change Context

The generic 500 response did not give much information about the problem.

Change Impact

This change will affect requests that miss the correct use of query filters. Refer to the documentation to avoid this error.

Date of Change

May 31, 2023

Impacted APIs

/api/v2/taskmanagement/workitems/query
/api/v2/taskmanagement/workbins/query
/api/v2/taskmanagement/worktypes/query

References

[WORKITEMS-1614]

1 Like

This topic was automatically closed 62 days after the last reply. New replies are no longer allowed.