When getting workitem details via API - https://docs.microsoft.com/en-us/rest/api/azure/devops/wit/work%20items/get%20work%20items%20batch?view=azure-devops-rest-6.0
I see there is a System.State which tells about the current state, but is customisable so we cannot decide if its in the final(Completed category) state or not. It seems we need to call another API to check the categories of the workitem type state, to check if its in final
Is there a way that when we call the workitem detail api, we also get the category of the state the workitem belongs to in the response body? This will help in reducing multiple API calls.