Description
In the PATCH /api/v2/taskmanagement/worktypes/{worktypeId} API, we were returning 200 previously; now we will return a 409 conflict if the user tries to update the schemaVersion to a version older than the current schemaVersion set on the worktype.
Change Category
API
Change Context
The customer was allowed to update the schemaVersion to a version older than the current schema version and this was causing a conflict in the workitem.
Change Impact
Customer will receive 409 instead of 200 when trying to downgrade the schemaVersion set on the worktype
Date of Change
March 27th, 2025
Impacted APIs
PATCH /api/v2/taskmanagement/worktypes/{worktypeId}
References
[WORKITEMS-3283]